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
fix a return bug in func (c *commandVacuum) Do
guosj26f3ab8d4b90
diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.goindex a09bf5d56e..61b1f06fa8 100644--- a/weed/shell/command_volume_vacuum.go+++ b/weed/shell/command_volume_vacuum.go@@ -32,7 +32,7 @@ func (c *commandVacuum) Do(args []string, commandEnv *CommandEnv, writer io.WritvolumeVacuumCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)garbageThreshold := volumeVacuumCommand.Float64("garbageThreshold", 0.3, "vacuum when garbage is more than this limit")if err = volumeVacuumCommand.Parse(args); err != nil {- return nil+ return}if err = commandEnv.confirmIsLocked(args); err != nil {