Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

set default

Chris Lu62b1a346ef33
diff --git a/weed/filer2/redis/redis_cluster_store.go b/weed/filer2/redis/redis_cluster_store.go
index 379b7a2db3..b17bfed14f 100644
--- a/weed/filer2/redis/redis_cluster_store.go
+++ b/weed/filer2/redis/redis_cluster_store.go
@@ -19,6 +19,10 @@ func (store *RedisClusterStore) GetName() string {
}
func (store *RedisClusterStore) Initialize(configuration util.Configuration) (err error) {
+
+ configuration.SetDefault("useReadOnly", false)
+ configuration.SetDefault("routeByLatency", false)
+
return store.initialize(
configuration.GetStringSlice("addresses"),
configuration.GetString("password"),