adjust error handling

fix https://github.com/seaweedfs/seaweedfs/issues/5677
This commit is contained in:
chrislu
2024-06-17 10:59:41 -07:00
parent e9cee59c8c
commit a829f36d17
4 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ func doFilerBackup(grpcDialOption grpc.DialOption, backupOption *FilerBackupOpti
DirectoriesToWatch: nil,
StartTsNs: startFrom.UnixNano(),
StopTsNs: 0,
EventErrorType: pb.TrivialOnError,
EventErrorType: pb.RetryForeverOnError,
}
return pb.FollowMetadata(sourceFiler, grpcDialOption, metadataFollowOption, processEventFnWithOffset)