diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-10-04 02:43:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-04 02:43:15 -0700 |
| commit | d4bb16e20e005ea2cc35f4017604a572e59606b4 (patch) | |
| tree | a327d91e088894b3c3652b1cc183221ec3ce652f /weed/command | |
| parent | 37999298309a03a0125aefd3272ff9c25f907e52 (diff) | |
| parent | 947add39e6b2bca54ddc04fd33be28868cae8a0f (diff) | |
| download | seaweedfs-d4bb16e20e005ea2cc35f4017604a572e59606b4.tar.xz seaweedfs-d4bb16e20e005ea2cc35f4017604a572e59606b4.zip | |
Merge pull request #2354 from chrislusf/bptree
Add Redis3
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/imports.go | 1 | ||||
| -rw-r--r-- | weed/command/scaffold/filer.toml | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/weed/command/imports.go b/weed/command/imports.go index a2f59189f..48cda5f90 100644 --- a/weed/command/imports.go +++ b/weed/command/imports.go @@ -29,6 +29,7 @@ import ( _ "github.com/chrislusf/seaweedfs/weed/filer/postgres2" _ "github.com/chrislusf/seaweedfs/weed/filer/redis" _ "github.com/chrislusf/seaweedfs/weed/filer/redis2" + _ "github.com/chrislusf/seaweedfs/weed/filer/redis3" _ "github.com/chrislusf/seaweedfs/weed/filer/sqlite" _ "github.com/chrislusf/seaweedfs/weed/filer/tikv" ) diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml index caf9d173d..aeb8a5b67 100644 --- a/weed/command/scaffold/filer.toml +++ b/weed/command/scaffold/filer.toml @@ -185,6 +185,28 @@ 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" +password = "" +database = 0 + +[redis_cluster3] # beta +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 + [etcd] enabled = false servers = "localhost:2379" |
