Skip to content

Conversation

@lkts
Copy link
Contributor

@lkts lkts commented Sep 24, 2025

See #124447.

@lkts lkts added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. auto-backport Automatically create backport pull requests when merged v9.1.5 labels Sep 24, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing Meta label for Distributed Indexing team label Sep 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@lkts lkts linked an issue Sep 24, 2025 that may be closed by this pull request
Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

I'm not sure this is the right fix. Did you have a chance to run the reproducing test seed using the exact commit at the time of the failure? If so, I wonder if it is not "just" an issue with a random translog settings being set by the test framework?

Something like ESIntegTestCase#setRandomIndexTranslogSettings randomly sets an ASYNC durability...

for (IndexService indexService : indexServices) {
for (IndexShard indexShard : indexService) {
// Wait for global checkpoint to stabilize first to avoid it changing while sync() is in progress.
assertBusy(() -> assertEquals(indexShard.getLocalCheckpoint(), indexShard.getLastKnownGlobalCheckpoint()));
Copy link
Member

Choose a reason for hiding this comment

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

I would avoid introducing more assertBusy if possible, it really slows down tests execution :(

@lkts
Copy link
Contributor Author

lkts commented Oct 8, 2025

I checked failing seeds and not all of them have that setting. Also ASYNC durability has a fairly high chance of being produced so we would see this failure way more often.

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

Labels

auto-backport Automatically create backport pull requests when merged :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. Team:Distributed Indexing Meta label for Distributed Indexing team >test Issues or PRs that are addressing/adding tests v9.1.9 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] IndexStatsIT testFilterCacheStats failing

3 participants