Browse Source
filer: add username and keyPrefix support for Redis stores (#7591)
filer: add username and keyPrefix support for Redis stores (#7591)
* filer: add username and keyPrefix support for Redis stores Addresses https://github.com/seaweedfs/seaweedfs/issues/7299 - Add username config option to redis2, redis_cluster2, redis_lua, and redis_lua_cluster stores (sentinel stores already had it) - Add keyPrefix config option to all Redis stores to prefix all keys, useful for Envoy Redis Proxy or multi-tenant Redis setups * refactor: reduce duplication in redis.NewClient creation Address code review feedback by defining redis.Options once and conditionally setting TLSConfig instead of duplicating the entire NewClient call. * filer.toml: add username and keyPrefix to redis2.tmp examplecopilot/fix-s3-object-tagging-issue
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 83 additions and 35 deletions
-
18weed/command/scaffold/filer.toml
-
6weed/filer/redis2/redis_cluster_store.go
-
4weed/filer/redis2/redis_sentinel_store.go
-
26weed/filer/redis2/redis_store.go
-
30weed/filer/redis2/universal_redis_store.go
-
6weed/filer/redis_lua/redis_cluster_store.go
-
4weed/filer/redis_lua/redis_sentinel_store.go
-
6weed/filer/redis_lua/redis_store.go
-
18weed/filer/redis_lua/universal_redis_store.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue