Skip to content

Update baseRetryPolicy to handle 409 statusCode.#257

Open
Dpk89364 wants to merge 1 commit intohashicorp:mainfrom
Dpk89364:patch-1
Open

Update baseRetryPolicy to handle 409 statusCode.#257
Dpk89364 wants to merge 1 commit intohashicorp:mainfrom
Dpk89364:patch-1

Conversation

@Dpk89364
Copy link
Copy Markdown

  • 429 Too Many Requests and 409 Concurrency Conflict are recoverable errors.
  • In the case of a 429, the server sometimes includes a Retry-After response header to indicate when it will be available to start processing requests from the client.
  • In the case of a 409, if there are more than one concurrent request, the server is unable to serve that request. In that case, we can use an exponential backoff strategy (1 sec, 2 sec, 4 sec, 8 sec, 16 sec…).

@Dpk89364 Dpk89364 requested review from a team as code owners May 13, 2025 16:16
@hashicorp-cla-app
Copy link
Copy Markdown

hashicorp-cla-app bot commented May 13, 2025

CLA assistant check
All committers have signed the CLA.

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.

1 participant