backup should retry on s3 internal error. #34350
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
component/br
This issue is related to BR of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
when s3 return internal error. backup will failed due we didn't handle this kind of error in
tidb/br/pkg/backup/client.go
Line 1032 in c0e39e4
perhaps we should retry as much as we can. according to https://grpc.github.io/grpc/core/md_doc_statuscodes.html. I think these following errors can be retried.
2. What did you expect to see? (Required)
backup succeed.
3. What did you see instead (Required)
backup failed.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: