Browse Source

update redis support status

pull/6061/merge
chrislu 5 days ago
parent
commit
9bd4c47299
  1. 34
      weed/command/scaffold/filer.toml
  2. 5
      weed/filer/redis/README.md
  3. 4
      weed/filer/redis3/README.md

34
weed/command/scaffold/filer.toml

@ -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

@ -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

@ -0,0 +1,4 @@
Desuppported.
This implementation attempts to use skip list.
Did not get any report on actual benefits.
Loading…
Cancel
Save