Michał Frąckiewicz
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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") |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|