diff options
| author | chrislu <chris.lu@gmail.com> | 2022-05-15 11:07:04 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-05-15 11:07:04 -0700 |
| commit | 271b5aed96cc84914aefbcb6a1b23c2e274c290d (patch) | |
| tree | 1eedc19c37c09ed9fec257155fa1df043fbcba33 | |
| parent | 4076d748132d5954a44587a6f9cac4ffd209ca8c (diff) | |
| download | seaweedfs-271b5aed96cc84914aefbcb6a1b23c2e274c290d.tar.xz seaweedfs-271b5aed96cc84914aefbcb6a1b23c2e274c290d.zip | |
shell: volume.fsck add a note for -reallyDeleteFromVolume option
| -rw-r--r-- | weed/shell/command_volume_fsck.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index 584ce722b..2b1daf97c 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -68,7 +68,7 @@ func (c *commandVolumeFsck) Do(args []string, commandEnv *CommandEnv, writer io. findMissingChunksInFiler := fsckCommand.Bool("findMissingChunksInFiler", false, "see \"help volume.fsck\"") findMissingChunksInFilerPath := fsckCommand.String("findMissingChunksInFilerPath", "/", "used together with findMissingChunksInFiler") findMissingChunksInVolumeId := fsckCommand.Int("findMissingChunksInVolumeId", 0, "used together with findMissingChunksInFiler") - applyPurging := fsckCommand.Bool("reallyDeleteFromVolume", 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. Currently this only works with default filerGroup.") c.forcePurging = fsckCommand.Bool("forcePurging", false, "delete missing data from volumes in one replica used together with applyPurging") purgeAbsent := fsckCommand.Bool("reallyDeleteFilerEntries", 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") tempPath := fsckCommand.String("tempPath", path.Join(os.TempDir()), "path for temporary idx files") |
