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

@@ -207,7 +207,7 @@ func (metaBackup *FilerMetaBackupOptions) streamMetadataBackup() error {
DirectoriesToWatch: nil,
StartTsNs: startTime.UnixNano(),
StopTsNs: 0,
EventErrorType: pb.TrivialOnError,
EventErrorType: pb.RetryForeverOnError,
}
return pb.FollowMetadata(pb.ServerAddress(*metaBackup.filerAddress), metaBackup.grpcDialOption, metadataFollowOption, processEventFnWithOffset)