diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-15 20:23:41 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-15 20:23:41 -0700 |
| commit | 72eb6d5b9da9196a17f7ec854d2c4d44a84fad73 (patch) | |
| tree | 2d1f49eb248bcd3da91807b852739d8f7fe5ebfe /weed/command | |
| parent | 5a7c40510f849f89b9aa72dcbc80b86a48ae4382 (diff) | |
| download | seaweedfs-72eb6d5b9da9196a17f7ec854d2c4d44a84fad73.tar.xz seaweedfs-72eb6d5b9da9196a17f7ec854d2c4d44a84fad73.zip | |
ensure no writes to remote storage if content is not changed
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/filer_remote_sync.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index 4ee34854b..c2f97cc6c 100644 --- a/weed/command/filer_remote_sync.go +++ b/weed/command/filer_remote_sync.go @@ -176,7 +176,6 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour if resp.Directory == message.NewParentPath && message.OldEntry.Name == message.NewEntry.Name { if filer.IsSameData(message.OldEntry, message.NewEntry) { glog.V(2).Infof("update meta: %+v", resp) - glog.V(0).Infof("delete %s", remote_storage.FormatLocation(dest)) return client.UpdateFileMetadata(dest, message.OldEntry, message.NewEntry) } } |
