Skip to content

[7.x] Speedup computing cluster health (#78969)#78976

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
martijnvg:backport/7.x/pr-78969
Oct 12, 2021
Merged

[7.x] Speedup computing cluster health (#78969)#78976
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
martijnvg:backport/7.x/pr-78969

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

In cases the status is not GREEN.

Instead of building a list of all shard routings and
then counting the total and active number of shards,
use the RoutingNodes (which should already be built)
that can compute these numbers almost for free.

Relates to elastic#77466
@martijnvg martijnvg added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 12, 2021
@original-brownbear
Copy link
Copy Markdown
Contributor

Jenkins run elasticsearch-ci/part-1

@elasticsearchmachine elasticsearchmachine merged commit 758bb99 into elastic:7.x Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants