aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync_dir.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-06-03 08:45:32 -0700
committerchrislu <chris.lu@gmail.com>2022-06-03 08:45:32 -0700
commit39c3cb04af277268e7d8ef5b8ce6d8ffcb48105f (patch)
tree3b67a6f1962b2d3e567a0549f1e46445161ce70f /weed/command/filer_remote_sync_dir.go
parentf97acdd4891b7b318f3fb67b1d8c2b11c809b158 (diff)
parentff5b96f0be266b3abbcede387d665865274a67ab (diff)
downloadseaweedfs-39c3cb04af277268e7d8ef5b8ce6d8ffcb48105f.tar.xz
seaweedfs-39c3cb04af277268e7d8ef5b8ce6d8ffcb48105f.zip
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/command/filer_remote_sync_dir.go')
-rw-r--r--weed/command/filer_remote_sync_dir.go2
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) {