aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_remote_sync_dir.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2021-12-30 00:23:57 -0800
committerchrislu <chris.lu@gmail.com>2021-12-30 00:23:57 -0800
commit5c87fcc6d28b230154db35cbe7735a5f1b84024f (patch)
treeaccf7f2221083bb3aec27c5ba60b24570349b85d /weed/command/filer_remote_sync_dir.go
parentfb434318e36ac8e78ab304bfd5421f110c10bdf1 (diff)
downloadseaweedfs-5c87fcc6d28b230154db35cbe7735a5f1b84024f.tar.xz
seaweedfs-5c87fcc6d28b230154db35cbe7735a5f1b84024f.zip
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)
}