Skip to content

Fix SimpleBlocksIT#testConcurrentAddBlock #126918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Apr 16, 2025

Only one of concurrent prepareAddBlock calls actually wins a race to add the block, so we need to check assertIndexHasBlock if the add index block has been acknowledged

Resolve #122324

Only one of concurrent `prepareAddBlock` calls actually wins a race to
add the block, so  we need to check `assertIndexHasBlock` if
the add index block has been acknowledged

Resolve elastic#122324
@arteam arteam added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. labels Apr 16, 2025
@arteam arteam marked this pull request as ready for review April 17, 2025 10:50
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing Meta label for Distributed Indexing team label Apr 17, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. Team:Distributed Indexing Meta label for Distributed Indexing team >test Issues or PRs that are addressing/adding tests v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] SimpleBlocksIT testConcurrentAddBlock failing
2 participants