-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fork calculating the health indicators to Management pool (#91628)
When a request for the health API comes in we first reach out to the health node (transport request) to fetch the cluster health state. When we get a response we calculate all the health indicators (except `master_is_stable` which executes before we do anything else). Calculating the health indicators can get expensive when a large number of shards are present in the cluster and we shouldn't keep the transport worker thread busy with this. This forks the health indicators health computation to the Management pool.
- Loading branch information
Showing
4 changed files
with
76 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters