Skip to content

Conversation

@idegtiarenko
Copy link
Contributor

This commit inlines method calls and replaces unnecessary debugDecision calls with allocation.decision ones

This commit inlines method calls and replaces unnecessary debugDecision calls
with `allocation.decision` ones
@idegtiarenko idegtiarenko added >non-issue :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.9.1 labels Jul 7, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was like this on purpose to make the decider compile to a much smaller method on the happy path. Not sure it's worth changing this even though it saves a couple of lines?

@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

@idegtiarenko idegtiarenko deleted the cleanup_myx_retry_decider branch April 22, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.9.3 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants