Browse Source

Document default method used by compact (#5379)

pull/5637/head
Michał Frąckiewicz 9 months ago
committed by GitHub
parent
commit
205829fa22
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/command/compact.go

2
weed/command/compact.go

@ -28,7 +28,7 @@ var (
compactVolumePath = cmdCompact.Flag.String("dir", ".", "data directory to store files") compactVolumePath = cmdCompact.Flag.String("dir", ".", "data directory to store files")
compactVolumeCollection = cmdCompact.Flag.String("collection", "", "volume collection name") 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.") 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") compactVolumePreallocate = cmdCompact.Flag.Int64("preallocateMB", 0, "preallocate volume disk space")
) )

Loading…
Cancel
Save