fix filer.sync missing source srv uploaded files to target when target down

This commit is contained in:
creeew committed 2022-06-02 01:28:47 +08:00
1 parent 6793bc853c
commit 02ae102731
11 files changed
+36 -17

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ func doSubscribeFilerMetaChanges(clientId int32, grpcDialOption grpc.DialOption,
})
return pb.FollowMetadata(sourceFiler, grpcDialOption, "syncTo_"+string(targetFiler), clientId,
sourcePath, nil, sourceFilerOffsetTsNs, 0, targetFilerSignature, processEventFnWithOffset, false)
sourcePath, nil, sourceFilerOffsetTsNs, 0, targetFilerSignature, processEventFnWithOffset, pb.RetryForeverOnError)
}