Skip to content

Conversation

joshua-adams-1
Copy link
Contributor

@joshua-adams-1 joshua-adams-1 commented Sep 22, 2025

Increases the threshold for convergence inside the DesiredBalanceComputerTests .testDesiredBalanceShouldConvergeInABigCluster from 1000 to 2000 since some tests had large numbers of shards, and the previous 1000 threshold was too restrictive. The test is also unmuted.

The specific test failure occurred when there were 7 nodes and 5460 shards, and it required 1090 iterations to converge. I have ran the test 10K+ times since and I didn't encounter a situation requiring >1100 iterations to converge, so 2000 has a nice safety buffer.

Closes #135123

Increases the threshold for convergence inside the
DesiredBalanceComputerTests
.testDesiredBalanceShouldConvergeInABigCluster from 1000 to 2000
since some tests had large numbers of shards, and the previous 1000
threshold was too restrictive. The test is also unmuted
@joshua-adams-1 joshua-adams-1 self-assigned this Sep 22, 2025
@joshua-adams-1 joshua-adams-1 added >non-issue :Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. labels Sep 22, 2025
@joshua-adams-1 joshua-adams-1 marked this pull request as ready for review September 22, 2025 13:03
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Sep 22, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@JeremyDahlgren JeremyDahlgren left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] DesiredBalanceComputerTests testDesiredBalanceShouldConvergeInABigCluster failing
4 participants