Is there any API available using which I can identify the split brain situation. #5787
-
Hi Is there any API available using which I can identify the split brain situation. So when network partition happened, if I hit that API than it should provide information that nodes are working individually. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Clusters of two nodes are explicitly not supported. There are node metrics, including partitions in effect, exposed by the HTTP API. The definition of "down" in distributed systems is broad, so other metrics can be of high relevance as well. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Clusters of two nodes are explicitly not supported.
There are node metrics, including partitions in effect, exposed by the HTTP API.
With Prometheus all metrics are node-local, so the list of nodes becomes the list of nodes that report metrics. IIRC partitions in effect is still one of the exposed metrics.
The definition of "down" in distributed systems is broad, so other metrics can be of high relevance as well.