Implement local scrubbing for EC volumes. (#8283)

This commit is contained in:
Lisandro Pin authored and GitHub committed 2026-02-11 11:04:08 -08:00
1 parent 2a73219397
commit e657e7d827
8 files changed
+111 -27

No files matched your search

+1 -2
View File
@@ -49,8 +49,7 @@ func (c *commandEcVolumeScrub) Do(args []string, commandEnv *CommandEnv, writer
volScrubCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
nodesStr := volScrubCommand.String("node", "", "comma-separated list of volume server <host>:<port> (optional)")
volumeIDsStr := volScrubCommand.String("volumeId", "", "comma-separated EC volume IDs to process (optional)")
// TODO: switch default mode to LOCAL, once implemented.
mode := volScrubCommand.String("mode", "index", "scrubbing mode (index/local/full)")
mode := volScrubCommand.String("mode", "local", "scrubbing mode (index/local/full)")
maxParallelization := volScrubCommand.Int("maxParallelization", DefaultMaxParallelization, "run up to X tasks in parallel, whenever possible")
if err = volScrubCommand.Parse(args); err != nil {