diff options
| author | qzh <951012707@qq.com> | 2022-08-22 14:08:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-21 23:08:31 -0700 |
| commit | 74b53729e1db38dddbe35258552162dc95fc3c55 (patch) | |
| tree | 847da5ce7006237dfbd051f676b5e89ac76244c4 /weed/shell/command_volume_copy.go | |
| parent | c4e862e90852de651aa0c6e7cbe16789be9d5d28 (diff) | |
| download | seaweedfs-74b53729e1db38dddbe35258552162dc95fc3c55.tar.xz seaweedfs-74b53729e1db38dddbe35258552162dc95fc3c55.zip | |
feat(weed.move): add a speed limit parameter of moving files (#3478)
* feat(weed.move): add a speed limit parameter of moving files
* fix(weed.move): set the default value of ioBytePerSecond to vs.compactionBytePerSecond
Co-authored-by: zhihao.qu <zhihao.qu@ly.com>
Diffstat (limited to 'weed/shell/command_volume_copy.go')
| -rw-r--r-- | weed/shell/command_volume_copy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.go index 2bbb4d504..59193f6bc 100644 --- a/weed/shell/command_volume_copy.go +++ b/weed/shell/command_volume_copy.go @@ -53,6 +53,6 @@ func (c *commandVolumeCopy) Do(args []string, commandEnv *CommandEnv, writer io. return fmt.Errorf("source and target volume servers are the same!") } - _, err = copyVolume(commandEnv.option.GrpcDialOption, writer, volumeId, sourceVolumeServer, targetVolumeServer, "") + _, err = copyVolume(commandEnv.option.GrpcDialOption, writer, volumeId, sourceVolumeServer, targetVolumeServer, "", 0) return } |
