- Notifications
You must be signed in to change notification settings - Fork 25.6k
Add shard explain info to ReactiveReason about unassigned shards #88590
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
Conversation
7cc3967 to 367ea92 Compare 6accee1 to f5b4092 Compare 2fa6bc4 to 651bdd6 Compare …d shards Explain shards Add AllocateUnassignedDecision to output allocation service shouldn't be null Disable the debug mode for routing allocations Run spotless
6f3aa76 to e7bd66f Compare | Pinging @elastic/es-distributed (Team:Distributed) |
| Hi @arteam, I've created a changelog YAML for you. |
…hard_allocation_explain
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.
I left a few comments
...src/main/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveStorageDeciderService.java Outdated Show resolved Hide resolved
server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java Outdated Show resolved Hide resolved
server/src/main/java/org/elasticsearch/cluster/routing/allocation/ShardAllocationDecision.java Outdated Show resolved Hide resolved
...src/main/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveStorageDeciderService.java Outdated Show resolved Hide resolved
| @elasticmachine update branch |
| @elasticmachine update branch |
| @elasticmachine update branch |
| merge conflict between base and head |
…earch into shard_allocation_explain
| @elasticmachine update branch |
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.
Left 4 smaller things to address, but no need for another round unless bigger changes are mad.
...est/java/org/elasticsearch/xpack/autoscaling/storage/NodeDecisionWireSerializationTests.java Outdated Show resolved Hide resolved
...toscaling/src/test/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveReasonTests.java Outdated Show resolved Hide resolved
...toscaling/src/test/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveReasonTests.java Outdated Show resolved Hide resolved
...toscaling/src/test/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveReasonTests.java Outdated Show resolved Hide resolved
...gin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/storage/NodeDecisions.java Outdated Show resolved Hide resolved
abc6741 to 448c56d Compare | Thank you both! |
Add two new fields into the reactive autoscaling policy decision response.
unassigned_node_decisions-can_allocateandcan_remaindecisions for unassigned shards (limited by 5)assigned_node_decisions-can_allocateandcan_remaindecisions decisions for assigned shards (limited by 5)Resolves #85243