Skip to content

Commit

Permalink
Dumpling: GCS always retry. (#57513)
Browse files Browse the repository at this point in the history
close #56127
  • Loading branch information
OliverS929 authored Nov 20, 2024
1 parent d8c9190 commit 84fe10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/storage/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func (s *GCSStorage) Reset(ctx context.Context) error {
if err != nil {
return errors.Trace(err)
}
client.SetRetry(storage.WithErrorFunc(shouldRetry))
client.SetRetry(storage.WithErrorFunc(shouldRetry), storage.WithPolicy(storage.RetryAlways))
s.clients[i] = client
return nil
})
Expand Down

0 comments on commit 84fe10a

Please sign in to comment.