aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadtoo <56451+Radtoo@users.noreply.github.com>2022-02-10 20:01:48 +0100
committerRadtoo <56451+Radtoo@users.noreply.github.com>2022-02-10 20:01:48 +0100
commitfbe7ed7927e63bdecf3527e5d96501e084b388fc (patch)
tree6eda6ce7f8e815e5f5b25313c6ba5148a8b85d4a
parentfbb14e0ea8145777486af160958d6c90a4569415 (diff)
downloadseaweedfs-fbe7ed7927e63bdecf3527e5d96501e084b388fc.tar.xz
seaweedfs-fbe7ed7927e63bdecf3527e5d96501e084b388fc.zip
Revert the the flag to "reallyDeleteFromVolume".
-rw-r--r--weed/shell/command_volume_fsck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go
index 6a4ab2559..005dc98c2 100644
--- a/weed/shell/command_volume_fsck.go
+++ b/weed/shell/command_volume_fsck.go
@@ -64,7 +64,7 @@ func (c *commandVolumeFsck) Do(args []string, commandEnv *CommandEnv, writer io.
verbose := fsckCommand.Bool("v", false, "verbose mode")
findMissingChunksInFiler := fsckCommand.Bool("findMissingChunksInFiler", false, "see \"help volume.fsck\"")
findMissingChunksInFilerPath := fsckCommand.String("findMissingChunksInFilerPath", "/", "used together with findMissingChunksInFiler")
- applyPurging := fsckCommand.Bool("purge", false, "<expert only!> after detection, delete missing data from volumes / delete missing file entries from filer")
+ applyPurging := fsckCommand.Bool("reallyDeleteFromVolume", false, "<expert only!> after detection, delete missing data from volumes / delete missing file entries from filer")
purgeAbsent := fsckCommand.Bool("purgeAbsent", false, "<expert only!> delete missing file entries from filer if the corresponding volume is missing for any reason, please ensure all still existing/expected volumes are connected! used together with findMissingChunksInFiler")
if err = fsckCommand.Parse(args); err != nil {
return nil