mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-28 15:41:13 +08:00
update redis support status
This commit is contained in:
parent
4613186e8a
commit
9bd4c47299
@ -200,40 +200,6 @@ routeByLatency = false
|
|||||||
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
|
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
|
||||||
superLargeDirectories = []
|
superLargeDirectories = []
|
||||||
|
|
||||||
[redis_lua]
|
|
||||||
enabled = false
|
|
||||||
address = "localhost:6379"
|
|
||||||
password = ""
|
|
||||||
database = 0
|
|
||||||
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
|
|
||||||
superLargeDirectories = []
|
|
||||||
|
|
||||||
[redis_lua_sentinel]
|
|
||||||
enabled = false
|
|
||||||
addresses = ["172.22.12.7:26379","172.22.12.8:26379","172.22.12.9:26379"]
|
|
||||||
masterName = "master"
|
|
||||||
username = ""
|
|
||||||
password = ""
|
|
||||||
database = 0
|
|
||||||
|
|
||||||
[redis_lua_cluster]
|
|
||||||
enabled = false
|
|
||||||
addresses = [
|
|
||||||
"localhost:30001",
|
|
||||||
"localhost:30002",
|
|
||||||
"localhost:30003",
|
|
||||||
"localhost:30004",
|
|
||||||
"localhost:30005",
|
|
||||||
"localhost:30006",
|
|
||||||
]
|
|
||||||
password = ""
|
|
||||||
# allows reads from slave servers or the master, but all writes still go to the master
|
|
||||||
readOnly = false
|
|
||||||
# automatically use the closest Redis server for reads
|
|
||||||
routeByLatency = false
|
|
||||||
# This changes the data layout. Only add new directories. Removing/Updating will cause data loss.
|
|
||||||
superLargeDirectories = []
|
|
||||||
|
|
||||||
[etcd]
|
[etcd]
|
||||||
enabled = false
|
enabled = false
|
||||||
servers = "localhost:2379"
|
servers = "localhost:2379"
|
||||||
|
5
weed/filer/redis/README.md
Normal file
5
weed/filer/redis/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Deprecated by redis2.
|
||||||
|
|
||||||
|
This implementaiton uses unsorted set. For example, add a directory child via SAdd.
|
||||||
|
|
||||||
|
Redis2 moves to sorted set. Adding a child uses ZAddNX.
|
4
weed/filer/redis3/README.md
Normal file
4
weed/filer/redis3/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Desuppported.
|
||||||
|
|
||||||
|
This implementation attempts to use skip list.
|
||||||
|
Did not get any report on actual benefits.
|
Loading…
Reference in New Issue
Block a user