Skip to content

Conversation

@lcian
Copy link
Member

@lcian lcian commented Jan 28, 2026

Introduces retries for the GCS backend.

The whole retry behavior is very similar to the one we use for GCS: maximum 2 retries and we retry immediately.
The only difference is that we don't retry PUTs, as we would have to buffer possibly huge payloads to do so.

This is still not perfect, as GCP recommends using exponential backoff for retries.
While I agree that would be a better strategy, users are likely to set timeouts on their end, and waiting too much is likely to have them run into timeouts and therefore see the request as failed from their point of view.
I still see this as an improvement to handle transient network failures that could very well disappear by simply retrying immediately.

Close FS-188

@linear
Copy link

linear bot commented Jan 28, 2026

@lcian lcian marked this pull request as ready for review January 28, 2026 16:30
@lcian lcian requested a review from a team as a code owner January 28, 2026 16:30
@lcian lcian requested a review from matt-codecov January 28, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants