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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Nit: have `ec.encode` exit immediately if no volumes are processed. (#7654)
Lisandro Pinca1ad9c4c243
diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.goindex d6b6b17b32..3558697676 100644--- a/weed/shell/command_ec_encode.go+++ b/weed/shell/command_ec_encode.go@@ -124,6 +124,10 @@ func (c *commandEcEncode) Do(args []string, commandEnv *CommandEnv, writer io.Wrreturn err}}+ if len(volumeIds) == 0 {+ fmt.Println("No volumes, nothing to do.")+ return nil+ }// Collect volume locations BEFORE EC encoding starts to avoid race condition// where the master metadata is updated after EC encoding but before deletion