-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add WriteLoadConstraintMonitorIT #136459
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
base: main
Are you sure you want to change the base?
Add WriteLoadConstraintMonitorIT #136459
Conversation
: "was last called [" + TimeValue.timeValueMillis(timeSinceLastRerouteMillis) + "] ago", | ||
nodeSummary(lastSetOfHotSpottedNodes), | ||
state.nodes().size() | ||
writeLoadConstraintSettings.getQueueLatencyThreshold() |
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.
Found an actual issue 🎉
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
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.
LGTM
// Clear simulated hot-spotting | ||
MockTransportService.getInstance(dataNodeOne).clearAllRules(); | ||
MockTransportService.getInstance(dataNodeTwo).clearAllRules(); |
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.
Is it possible to test for the message of Not calling reroute because we called reroute [{}] ago and there are no new hot spots
as well?
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.
That's on line 95 I think, or did you mean something else?
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.
Ah I was blind 😮💨
Resolves: ES-13138