-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Implement WriteLoadConstraintMonitor #132917
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
Merged
nicktindall
merged 33 commits into
elastic:main
from
nicktindall:ES-119922_implement_WriteLoadConstraintMontitor
Aug 29, 2025
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2dd9eac
First pass on WriteLoadConstraintMonitor
nicktindall 471bc19
Fix disabled condition
nicktindall 0e4db55
Merge remote-tracking branch 'origin/main' into ES-119922_implement_W…
nicktindall 7ab66a7
Add tests
nicktindall 018e100
Merge remote-tracking branch 'origin/main' into ES-119922_implement_W…
nicktindall 6bd054f
equal to threshold is OK
nicktindall 2484a77
More random
nicktindall 899ba00
Merge remote-tracking branch 'origin/main' into ES-119922_implement_W…
nicktindall 7049a5e
Store high utilization threshold as ratio
nicktindall c57935e
Change default queue latency threshold to 5s
nicktindall 6971468
Update server/src/main/java/org/elasticsearch/cluster/routing/allocat…
nicktindall d3308d2
Use notFullyEnabled
nicktindall b816a15
Include hot-spotted and under-threshold node IDs in reason, in-line c…
nicktindall 8ad414b
Fix constraints
nicktindall 62bdc83
Assert write thread pool stats are present
nicktindall a326745
Change debug message when no nodes exceeding threshold
nicktindall ee54418
Make over-latency-threshold and under-utilization threshold mutually …
nicktindall d8ff9e5
Tidy
nicktindall 996ac06
Simplify reason, write detailed log message when debug enabled
nicktindall 2f7123f
Merge remote-tracking branch 'origin/main' into ES-119922_implement_W…
nicktindall 1789a51
Don't ignore hot-spotted nodes with shard movement in progress
nicktindall 6e5d393
latencyThresholdMillis -> queueLatencyThresholdMillis
nicktindall 8a66257
Use system time by default
nicktindall 8a2b43b
Remove dead code
nicktindall 8b23b03
rerouteService -> mockRerouteService
nicktindall 1cd4154
createClusterInfoWithHotSpots, add better javadoc
nicktindall 1a4979a
Fix test names
nicktindall 98ba24d
Improve comment
nicktindall 1d63962
Leave default as 30 for this PR
nicktindall 3510567
Merge branch 'main' into ES-119922_implement_WriteLoadConstraintMontitor
nicktindall 2abd946
Explicitly configure a non-zero reroute interval
nicktindall 06beb49
Merge remote-tracking branch 'origin/main' into ES-119922_implement_W…
nicktindall 81eb6e5
Call reroute even if there are no nodes under utilisation/latency thr…
nicktindall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a record and these looked like the default equals/hashCode/toString