Skip to content

Conversation

@nicktindall
Copy link
Contributor

@nicktindall nicktindall commented Apr 17, 2025

In #126887 we started using the idempotency token to identify requests (instead of the concatenated request details)

Unfortunately the GCS client reuses idempotency tokens for status checks and subsequent retries in the event of a resumable upload failure.

This PR adds the range header to the end of the idempotency token to allow us to disambiguate in these cases.

Fixes #126902
Fixes #126903
Fixes #126908
Fixes #126909

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 labels Apr 17, 2025
@nicktindall nicktindall added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test Issues or PRs that are addressing/adding tests labels Apr 17, 2025
@elasticsearchmachine elasticsearchmachine added Team:Distributed Coordination Meta label for Distributed Coordination team and removed needs:triage Requires assignment of a team area label labels Apr 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@nicktindall nicktindall requested a review from mhl-b April 17, 2025 01:41
Copy link
Contributor

@mhl-b mhl-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicktindall nicktindall enabled auto-merge (squash) April 17, 2025 02:08
@nicktindall nicktindall merged commit d378185 into elastic:main Apr 17, 2025
16 of 17 checks passed
@nicktindall nicktindall deleted the fix_gcs_tests branch April 17, 2025 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination Meta label for Distributed Coordination team >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

3 participants