aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync_dir.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-05-30 21:38:31 -0700
committerGitHub <noreply@github.com>2022-05-30 21:38:31 -0700
commitca01ce05249c336ed380d9f77efbee68213b8a37 (patch)
tree2241d21d85b966d4957bae06ea09cdc4ad6bb534 /weed/command/filer_remote_sync_dir.go
parent8902fa6ff653aa40249d2d6da49a9227b63415bb (diff)
parent6adc42147f972d2adc223e119c0f97094b3f0bec (diff)
downloadseaweedfs-ca01ce05249c336ed380d9f77efbee68213b8a37.tar.xz
seaweedfs-ca01ce05249c336ed380d9f77efbee68213b8a37.zip
Merge pull request #3122 from chrislusf/filer-sync-with-peers
Filer bootstrap from peers
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 5859645e9..02e7218e9 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, processEventFnWithOffset, false)
+ mountedDir, []string{filer.DirectoryEtcRemote}, lastOffsetTs.UnixNano(), 0, 0, processEventFnWithOffset, false)
}
func makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string, remoteStorageMountLocation *remote_pb.RemoteStorageLocation, filerSource *source.FilerSource) (pb.ProcessMetadataFunc, error) {