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.

default to false in scaffold.go

Chris Lufcbd04c42539
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index eb97af91c9..3ef7ab914a 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -136,8 +136,8 @@ addresses = [
"localhost:30006",
]
password = ""
-readOnly = true
-routeByLatency = true
+readOnly = false
+routeByLatency = false
[etcd]
enabled = false
diff --git a/weed/filer2/redis/redis_cluster_store.go b/weed/filer2/redis/redis_cluster_store.go
index b17bfed14f..0915be219a 100644
--- a/weed/filer2/redis/redis_cluster_store.go
+++ b/weed/filer2/redis/redis_cluster_store.go
@@ -20,9 +20,6 @@ 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"),