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 compilation
Chris Lu2539ba0b62d3
diff --git a/weed/shell/command_ec_decode.go b/weed/shell/command_ec_decode.goindex 33ec520e5c..83b122bcc8 100644--- a/weed/shell/command_ec_decode.go+++ b/weed/shell/command_ec_decode.go@@ -41,7 +41,7 @@ func (c *commandEcDecode) Do(args []string, commandEnv *CommandEnv, writer io.WrencodeCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)volumeId := encodeCommand.Int("volumeId", 0, "the volume id")collection := encodeCommand.String("collection", "", "the collection name")- applyChanges := fixCommand.Bool("force", false, "force the encoding even if the cluster has less than recommended 4 nodes")+ applyChanges := encodeCommand.Bool("force", false, "force the encoding even if the cluster has less than recommended 4 nodes")if err = encodeCommand.Parse(args); err != nil {return nil}@@ -58,7 +58,7 @@ func (c *commandEcDecode) Do(args []string, commandEnv *CommandEnv, writer io.Wrreturn err}- if !applyChanges {+ if !*applyChanges {var nodeCount inteachDataNode(topologyInfo, func(dc string, rack RackId, dn *master_pb.DataNodeInfo) {nodeCount++