Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

What is the Event for a Leadership Change?

We are looking into being able to register to listen for cluster shard leadership changes using Lithium's REST API. However, we don't know what the event we should be listening for actually is. Where should we subscribe and what should we listen for to find out when the leadership of a shard changes?

What is the Event for a Shard Leadership Change?

We are looking into being able to register to listen for cluster shard leadership changes using Lithium's REST API. However, we don't know what the event we should be listening for actually is. Where should we subscribe and what should we listen for to find out when the leadership of a shard changes?

What is the Event for a Shard Leadership Change?

We are looking into being able to register to listen for cluster shard leadership changes using Lithium's REST API. However, we don't know what the event we should be listening for actually is. Where should we subscribe and what should we listen for to find out when the leadership of a shard changes?

I'm asking under the assumption that there's a specific event for this if you register DataChangeListeners on the appropriate locations. I am pretty sure you would need to have listeners registered for all three cluster members, but I'm not sure of the exact details.