Skip to content

[9.0] TEST Fix ThreadPoolMergeSchedulerStressTestIT testMergingFallsBehindAndThenCatchesUp (#131636)#131676

Merged
elasticsearchmachine merged 1 commit intoelastic:9.0from
albertzaharovits:backport/9.0/pr-131636
Jul 22, 2025
Merged

[9.0] TEST Fix ThreadPoolMergeSchedulerStressTestIT testMergingFallsBehindAndThenCatchesUp (#131636)#131676
elasticsearchmachine merged 1 commit intoelastic:9.0from
albertzaharovits:backport/9.0/pr-131636

Conversation

@albertzaharovits
Copy link
Copy Markdown
Contributor

Backports the following commits to 9.0:

…ndThenCatchesUp (elastic#131636)

This addresses an unfounded test assumption that a merge following refreshes is a noop.
Refreshes might trigger a merge, but segments can be part of a single merge task at a time so it's possible that after multiple independent merges finish, if the TieredMergePolicy is invoked again it might still find yet another merge to run.

Fixes elastic#131262
@albertzaharovits albertzaharovits added :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >test Issues or PRs that are addressing/adding tests auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. labels Jul 22, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1bb21cb into elastic:9.0 Jul 22, 2025
19 checks passed
@albertzaharovits albertzaharovits deleted the backport/9.0/pr-131636 branch July 22, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. Team:Distributed Indexing (obsolete) Meta label for Distributed Indexing team. Obsolete. Please do not use. >test Issues or PRs that are addressing/adding tests v9.0.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants