Skip to content

Reindex Relocation: Prevent source task override task result#145947

Open
samxbr wants to merge 8 commits intoelastic:mainfrom
samxbr:reindex/store-source-result-prevent-override
Open

Reindex Relocation: Prevent source task override task result#145947
samxbr wants to merge 8 commits intoelastic:mainfrom
samxbr:reindex/store-source-result-prevent-override

Conversation

@samxbr
Copy link
Copy Markdown
Contributor

@samxbr samxbr commented Apr 8, 2026

This is a follow-up of #145488. This prevents the source reindex task overriding the result written by the destination task, effectively ensuring the destination always wins if there's a race. This is to ensure the relocation chain is preserved in the case where the source task observes another error (eg. network error if the resume response from destination to source is lost).

@samxbr samxbr added :Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue labels Apr 8, 2026
@samxbr samxbr marked this pull request as ready for review April 9, 2026 21:00
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Apr 9, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue Team:Distributed Meta label for distributed team. v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants