forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include node roles in cluster state JSON response
Today the response to `GET _cluster/state` does not include the roles of the nodes in the cluster. In the past this made sense, roles were relatively unchanging things that could be determined from elsewhere. These days we have an increasingly rich collection of roles, with nontrivial BWC implications, so it is important for debugging to be able to see the specific roles as viewed by the master. This commit adds the role names to the cluster state API output. Relates elastic#71385
- Loading branch information
1 parent
6a081e1
commit 086852f
Showing
2 changed files
with
50 additions
and
0 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