Skip to content

Speed up DataTierAllocationDecider (#78075)#78167

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:78075-7.x
Sep 22, 2021
Merged

Speed up DataTierAllocationDecider (#78075)#78167
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:78075-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

This decider is quite slow in allocationAllowed and shows up in profiling.
We should be able to get a much tighter loop with this change that avoids building
the list of role names over and over and removes some dead code as well.

Co-authored-by: Joe Gallo joegallo@gmail.com

backport of #78075

This decider is quite slow in `allocationAllowed` and shows up in profiling.
We should be able to get a much tighter loop with this change that avoids building
the list of role names over and over and removes some dead code as well.

Co-authored-by: Joe Gallo <joegallo@gmail.com>
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@original-brownbear original-brownbear merged commit cd971a7 into elastic:7.x Sep 22, 2021
@original-brownbear original-brownbear deleted the 78075-7.x branch September 22, 2021 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants