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.

tweaking

Chris Lu61bc1d6ffd53
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index f615033c70..667324a8ad 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -359,7 +359,7 @@ sequencer_etcd_urls = "http://127.0.0.1:2379"
[storage.backend]
[storage.backend.s3.default]
- enabled = true
+ enabled = false
aws_access_key_id = "" # if empty, loads from the shared credentials file (~/.aws/credentials).
aws_secret_access_key = "" # if empty, loads from the shared credentials file (~/.aws/credentials).
region = "us-east-2"
diff --git a/weed/storage/backend/backend.go b/weed/storage/backend/backend.go
index 36631e113b..05312b74ec 100644
--- a/weed/storage/backend/backend.go
+++ b/weed/storage/backend/backend.go
@@ -54,6 +54,9 @@ func LoadConfiguration(config *viper.Viper) {
glog.Fatalf("fail to create backend storage %s.%s", backendTypeName, backendStorageId)
}
BackendStorages[backendTypeName+"."+backendStorageId] = backendStorage
+ if backendStorageId == "default" {
+ BackendStorages[backendTypeName] = backendStorage
+ }
}
}