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.

[shell] Clarify bucket replication setting order

Baptiste Mille-Mathias385a4dec30f4
diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.go
index 28cf1d9452..a512ffc4a9 100644
--- a/weed/shell/command_s3_bucket_create.go
+++ b/weed/shell/command_s3_bucket_create.go
@@ -34,7 +34,9 @@ func (c *commandS3BucketCreate) Do(args []string, commandEnv *CommandEnv, writer
bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
bucketName := bucketCommand.String("name", "", "bucket name")
- replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set it will honor the setting defined by the filer or master")
+ replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set "+
+ "it will honor the value defined by the filer if it exists, "+
+ "else it will honor the value defined on the master")
if err = bucketCommand.Parse(args); err != nil {
return nil
}