Skip to content
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

Fix optimization in BalancedShardsAllocator #87843

Conversation

original-brownbear
Copy link
Member

The optimization for a null does not apply today as we never pass null to this method, it should special case plain YES instead.

relates #77466

The optimization for a `null` does not apply today,
it should special case plain `YES`.
@original-brownbear original-brownbear added >non-issue :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) v8.4.0 labels Jun 20, 2022
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Jun 20, 2022
@elasticmachine
Copy link
Collaborator

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

@original-brownbear
Copy link
Member Author

Thanks Ievgen!

@original-brownbear original-brownbear merged commit 065a9d4 into elastic:master Jun 20, 2022
@original-brownbear original-brownbear deleted the fix-balanced-shard-alloc-optimization branch June 20, 2022 12:29
@original-brownbear original-brownbear restored the fix-balanced-shard-alloc-optimization branch April 18, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >non-issue Team:Distributed Meta label for distributed team v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants