Skip to content

Apply error-retry-base-interval backoff to S3 store retries#322

Merged
folbricht merged 1 commit intomasterfrom
worktree-issue-321
Mar 19, 2026
Merged

Apply error-retry-base-interval backoff to S3 store retries#322
folbricht merged 1 commit intomasterfrom
worktree-issue-321

Conversation

@folbricht
Copy link
Owner

Summary

  • Add linear backoff using ErrorRetryBaseInterval before each retry in S3Store, matching the existing behavior in RemoteHTTP stores
  • Applies time.Sleep(time.Duration(attempt) * s.opt.ErrorRetryBaseInterval) at all 3 goto retry sites in GetChunk and StoreChunk

Fixes #321

S3Store respected the error-retry count but retried immediately without
delay. Add linear backoff using ErrorRetryBaseInterval before each retry
attempt, matching the existing behavior in RemoteHTTP stores.

Fixes #321
@folbricht folbricht merged commit ae478ac into master Mar 19, 2026
6 checks passed
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.

error-retry-base-interval is not applied for s3 chunk-stores

1 participant