diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-02-15 12:10:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-15 12:10:34 -0800 |
| commit | aa7fc299b87a1b3e7e787733f9d46c79f9d69619 (patch) | |
| tree | 25cd83628cd4d9d171c0083400c966aba6872b8a /weed/command | |
| parent | 5eb3a7e4665f1e99ac040127a51bf1afeab3d837 (diff) | |
| parent | b5ec3467003b2becca9a91f9cf56ab6b24ede25e (diff) | |
| download | seaweedfs-aa7fc299b87a1b3e7e787733f9d46c79f9d69619.tar.xz seaweedfs-aa7fc299b87a1b3e7e787733f9d46c79f9d69619.zip | |
Merge pull request #2676 from banjiaojuhao/add_filer_store-redis_lua
FilerStore: add redis_lua
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/scaffold/filer.toml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index 77c6cd58b..5d4513c36 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -195,6 +195,40 @@ routeByLatency = false # This changes the data layout. Only add new directories. Removing/Updating will cause data loss. 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 = [] + [redis3] # beta enabled = false address = "localhost:6379" |
