diff options
| author | creeew <hzq233@foxmail.com> | 2022-06-02 01:28:47 +0800 |
|---|---|---|
| committer | creeew <hzq233@foxmail.com> | 2022-06-02 01:28:47 +0800 |
| commit | 02ae102731496689885dd133e2b6aa57ba634b4e (patch) | |
| tree | 0795b931e9ce6c7b147cff99159c68959bfffd26 /weed/command/filer_backup.go | |
| parent | 6793bc853c8b54823157bda6af4385411f8f6aea (diff) | |
| download | seaweedfs-02ae102731496689885dd133e2b6aa57ba634b4e.tar.xz seaweedfs-02ae102731496689885dd133e2b6aa57ba634b4e.zip | |
fix filer.sync missing source srv uploaded files to target when target down
Diffstat (limited to 'weed/command/filer_backup.go')
| -rw-r--r-- | weed/command/filer_backup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_backup.go b/weed/command/filer_backup.go index f029e4ef2..d191c693b 100644 --- a/weed/command/filer_backup.go +++ b/weed/command/filer_backup.go @@ -114,6 +114,6 @@ func doFilerBackup(grpcDialOption grpc.DialOption, backupOption *FilerBackupOpti return setOffset(grpcDialOption, sourceFiler, BackupKeyPrefix, int32(sinkId), lastTsNs) }) - return pb.FollowMetadata(sourceFiler, grpcDialOption, "backup_"+dataSink.GetName(), clientId, sourcePath, nil, startFrom.UnixNano(), 0, 0, processEventFnWithOffset, false) + return pb.FollowMetadata(sourceFiler, grpcDialOption, "backup_"+dataSink.GetName(), clientId, sourcePath, nil, startFrom.UnixNano(), 0, 0, processEventFnWithOffset, pb.TrivialOnError) } |
