diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-12-24 14:55:50 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-12-24 14:55:50 -0800 |
| commit | efd2f50edecf698993dd228a7acd8ae4edd201ce (patch) | |
| tree | baf949a5a7c99c9f7e1244b8ab1dbe7bd0fd0f7a /weed/command/backup.go | |
| parent | 7ba6be23120890954b185e01af3a430cca2714b4 (diff) | |
| download | seaweedfs-efd2f50edecf698993dd228a7acd8ae4edd201ce.tar.xz seaweedfs-efd2f50edecf698993dd228a7acd8ae4edd201ce.zip | |
compaction changed to .idx based deletion
Diffstat (limited to 'weed/command/backup.go')
| -rw-r--r-- | weed/command/backup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/backup.go b/weed/command/backup.go index a6d660006..0f6bed225 100644 --- a/weed/command/backup.go +++ b/weed/command/backup.go @@ -121,7 +121,7 @@ func runBackup(cmd *Command, args []string) bool { } if v.SuperBlock.CompactionRevision < uint16(stats.CompactRevision) { - if err = v.Compact(0, 0); err != nil { + if err = v.Compact2(30 * 1024 * 1024 * 1024); err != nil { fmt.Printf("Compact Volume before synchronizing %v\n", err) return true } |
