chrislu 6 months ago
parent
commit
a829f36d17
  1. 2
      weed/command/filer_backup.go
  2. 2
      weed/command/filer_meta_backup.go
  3. 2
      weed/command/filer_remote_gateway_buckets.go
  4. 2
      weed/command/filer_remote_sync_dir.go

2
weed/command/filer_backup.go

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

2
weed/command/filer_meta_backup.go

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

2
weed/command/filer_remote_gateway_buckets.go

@ -60,7 +60,7 @@ func (option *RemoteGatewayOptions) followBucketUpdatesAndUploadToRemote(filerSo
DirectoriesToWatch: nil, DirectoriesToWatch: nil,
StartTsNs: lastOffsetTs.UnixNano(), StartTsNs: lastOffsetTs.UnixNano(),
StopTsNs: 0, StopTsNs: 0,
EventErrorType: pb.TrivialOnError,
EventErrorType: pb.RetryForeverOnError,
} }
return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, metadataFollowOption, processEventFnWithOffset) return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, metadataFollowOption, processEventFnWithOffset)

2
weed/command/filer_remote_sync_dir.go

@ -74,7 +74,7 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sour
DirectoriesToWatch: nil, DirectoriesToWatch: nil,
StartTsNs: lastOffsetTs.UnixNano(), StartTsNs: lastOffsetTs.UnixNano(),
StopTsNs: 0, StopTsNs: 0,
EventErrorType: pb.TrivialOnError,
EventErrorType: pb.RetryForeverOnError,
} }
return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, metadataFollowOption, processEventFnWithOffset) return pb.FollowMetadata(pb.ServerAddress(*option.filerAddress), option.grpcDialOption, metadataFollowOption, processEventFnWithOffset)

Loading…
Cancel
Save