Is there anyway to get cluster level leadership of node

asked 2016-06-28 05:46:27 -0800

karthik_raja gravatar image

updated 2016-06-29 01:35:30 -0800

As we know that the RoleChangenotifier gives us way to find out a node is leader of a shard or not. Similarly is there any way we can set overall node level leardership. We have a use case to set virtual ip(floating ip) on a node, which we consider to be a leader in the cluster. Once the leader goes down the ip will be assigned to next leader of the cluster.

edit retag flag offensive close merge delete