Skip to content

Commit

Permalink
Dumpling: GCS always retry. (#57513) (#57561)
Browse files Browse the repository at this point in the history
close #56127
  • Loading branch information
ti-chi-bot authored Nov 21, 2024
1 parent 9862e83 commit 6404c67
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 6404c67

Please sign in to comment.