The health API currently reports the cluster formation view of different nodes
keyed by the node.id
e.g.
"cluster_formation": {
"0oN5vgNOTYSD2e2NLWcMpA": "master not discovered yet: have discovered [{node_t2}{0oN5vgNOTYSD2e2NLWcMpA}{FG_hf0jaTuihP9P-YwQY7g}{node_t2}{127.0.0.1}{127.0.0.1:13422}{d}]; discovery will continue using [127.0.0.1:13421] from hosts providers and [{node_t0}{V82Zl-CUS_ah7O0-JIBhfQ}{McMwzFMoRui2n4y2rUif6g}{node_t0}{127.0.0.1}{127.0.0.1:13421}{m}] from last-known cluster state; node term 1, last-accepted version 7 in term 1"
}
This proposes we change the key to be a combination of node.name and node.id for ease of use:
i.e.
"cluster_formation": {
"{node_t2}{0oN5vgNOTYSD2e2NLWcMpA}": "master not discovered yet: have discovered [{node_t2}{0oN5vgNOTYSD2e2NLWcMpA}{FG_hf0jaTuihP9P-YwQY7g}{node_t2}{127.0.0.1}{127.0.0.1:13422}{d}]; discovery will continue using [127.0.0.1:13421] from hosts providers and [{node_t0}{V82Zl-CUS_ah7O0-JIBhfQ}{McMwzFMoRui2n4y2rUif6g}{node_t0}{127.0.0.1}{127.0.0.1:13421}{m}] from last-known cluster state; node term 1, last-accepted version 7 in term 1"
}
The health API currently reports the cluster formation view of different nodes
keyed by the node.id
e.g.
This proposes we change the key to be a combination of node.name and node.id for ease of use:
i.e.