-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New balancer unit tests (#91612) (cherry picked from commit 7c39880) * Add tests to BalancedShardsAllocator.Balancer#getIndexDiskUsageInBytes (#91642) This commit includes minor cleanups (cherry picked from commit 6cff05b) * Simulate balancer in realistic cluster (#91404) This commit adds a test suite which creates a somewhat realistic cluster and runs the shards allocator until convergence, then reports on the balance quality of the resulting allocation. This is useful for exploring changes to the balancer (although such experiments may want to increase the size of the cluster somewhat) and by running it in CI we can at least be sure that the balancer doesn't throw anything unexpected and does eventually converge in these situations. * Followup on comments from #91612 (#91700) Co-authored-by: Francisco Fernández Castaño <francisco.fernandez.castano@gmail.com> Co-authored-by: David Turner <david.turner@elastic.co>
- Loading branch information
1 parent
166247f
commit 952ffde
Showing
7 changed files
with
809 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.