diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-11 10:32:17 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-11 10:32:17 -0700 |
| commit | d439d837726f5fdb53e686275a29eaa02d66ad62 (patch) | |
| tree | 8743a11e9c52f671bf3998932e563710be8549c0 /weed/command/backup.go | |
| parent | 4237a813ccc92011d740c31c22e5bc29b7d3316e (diff) | |
| download | seaweedfs-d439d837726f5fdb53e686275a29eaa02d66ad62.tar.xz seaweedfs-d439d837726f5fdb53e686275a29eaa02d66ad62.zip | |
volume: follow compactionBytePerSecond
related to https://github.com/chrislusf/seaweedfs/issues/1108
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 eb2b5ba4a..615be80cf 100644 --- a/weed/command/backup.go +++ b/weed/command/backup.go @@ -119,7 +119,7 @@ func runBackup(cmd *Command, args []string) bool { } if v.SuperBlock.CompactionRevision < uint16(stats.CompactRevision) { - if err = v.Compact2(30 * 1024 * 1024 * 1024); err != nil { + if err = v.Compact2(30*1024*1024*1024, 0); err != nil { fmt.Printf("Compact Volume before synchronizing %v\n", err) return true } |
