diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-06-01 13:35:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-01 13:35:55 -0700 |
| commit | e152dc8faeb329613c959de7964fd08f04344245 (patch) | |
| tree | 0795b931e9ce6c7b147cff99159c68959bfffd26 /weed/command/filer_remote_sync_dir.go | |
| parent | 6793bc853c8b54823157bda6af4385411f8f6aea (diff) | |
| parent | 02ae102731496689885dd133e2b6aa57ba634b4e (diff) | |
| download | seaweedfs-e152dc8faeb329613c959de7964fd08f04344245.tar.xz seaweedfs-e152dc8faeb329613c959de7964fd08f04344245.zip | |
Merge pull request #3132 from creeew/hotfix/filer_sync_recover
fix filer.sync missing source srv uploaded files to target when targeā¦
Diffstat (limited to 'weed/command/filer_remote_sync_dir.go')
| -rw-r--r-- | weed/command/filer_remote_sync_dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_remote_sync_dir.go b/weed/command/filer_remote_sync_dir.go index 02e7218e9..5fc20be9a 100644 --- a/weed/command/filer_remote_sync_dir.go +++ b/weed/command/filer_remote_sync_dir.go @@ -41,7 +41,7 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour lastOffsetTs := collectLastSyncOffset(option, option.grpcDialOption, pb.ServerAddress(*option.filerAddress), mountedDir, *option.timeAgo) return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, "filer.remote.sync", option.clientId, - mountedDir, []string{filer.DirectoryEtcRemote}, lastOffsetTs.UnixNano(), 0, 0, processEventFnWithOffset, false) + mountedDir, []string{filer.DirectoryEtcRemote}, lastOffsetTs.UnixNano(), 0, 0, processEventFnWithOffset, pb.TrivialOnError) } func makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string, remoteStorageMountLocation *remote_pb.RemoteStorageLocation, filerSource *source.FilerSource) (pb.ProcessMetadataFunc, error) { |
