aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync_dir.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-01-02 01:11:27 -0800
committerGitHub <noreply@github.com>2022-01-02 01:11:27 -0800
commit077f831749e6bbf12ff52fd369b493e4dd751817 (patch)
tree81912d857c0dcc0dba64661aa8f06ba81e68a40a /weed/command/filer_remote_sync_dir.go
parent9b941773805400c520558d83aed633adc821988c (diff)
parent42c849e0df74610d38453db67670db715ceb80aa (diff)
downloadseaweedfs-077f831749e6bbf12ff52fd369b493e4dd751817.tar.xz
seaweedfs-077f831749e6bbf12ff52fd369b493e4dd751817.zip
Merge pull request #2550 from chrislusf/metadata_follow_with_client_id
add client id for all metadata listening clients
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 947f526bb..ccedc9d80 100644
--- a/weed/command/filer_remote_sync_dir.go
+++ b/weed/command/filer_remote_sync_dir.go
@@ -40,7 +40,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",
+ return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, "filer.remote.sync", option.clientId,
mountedDir, []string{filer.DirectoryEtcRemote}, lastOffsetTs.UnixNano(), 0, processEventFnWithOffset, false)
}