diff options
| author | Michał Frąckiewicz <1836094+SystemZ@users.noreply.github.com> | 2024-03-15 20:16:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 12:16:44 -0700 |
| commit | 205829fa22216228be40effb9d684aa7900ded57 (patch) | |
| tree | 77d7ffb6209b5577c4c3860b7b0de3a1ec12a760 | |
| parent | 54ee73287d0389459dbeb4b6cbb37389c81afed4 (diff) | |
| download | seaweedfs-205829fa22216228be40effb9d684aa7900ded57.tar.xz seaweedfs-205829fa22216228be40effb9d684aa7900ded57.zip | |
Document default method used by compact (#5379)
| -rw-r--r-- | weed/command/compact.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/compact.go b/weed/command/compact.go index 6d1f5d5f1..6f5f2307a 100644 --- a/weed/command/compact.go +++ b/weed/command/compact.go @@ -28,7 +28,7 @@ var ( compactVolumePath = cmdCompact.Flag.String("dir", ".", "data directory to store files") compactVolumeCollection = cmdCompact.Flag.String("collection", "", "volume collection name") compactVolumeId = cmdCompact.Flag.Int("volumeId", -1, "a volume id. The volume should already exist in the dir.") - compactMethod = cmdCompact.Flag.Int("method", 0, "option to choose which compact method. use 0 or 1.") + compactMethod = cmdCompact.Flag.Int("method", 0, "option to choose which compact method. use 0 (default) or 1.") compactVolumePreallocate = cmdCompact.Flag.Int64("preallocateMB", 0, "preallocate volume disk space") ) |
