Retry object store transport errors, from a tenth of a second #178

Merged
jcoffey-dev merged 2 commits from fix/s3-retries into main 2026-10-08 22:42:39 +00:00
2 Commits
Author SHA1 Message Date
jcoffey-dev e61e855ac5 Mark the S3 backend as modified
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 10m4s
2026-10-08 15:30:58 -07:00
jcoffey-dev e864ac2458 Retry object store transport errors, from a tenth of a second
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Failing after 9m25s
The S3 backend retried only a 5xx answer: a dropped connection or a
timeout on the way to the object store failed the read or write at
once, and the first retry waited a whole second. A transport error and
a 429 now retry the same way, and the waits run 100 ms, 200 ms, 400 ms
... capped at 5 s, so a Garage node restarting costs a request tenths
of a second rather than failing it.
2026-10-08 14:43:44 -07:00