BUG-5414 introduce EOS inJeopardy flag 52/36752/8
authorRobert Varga <rovarga@cisco.com>
Thu, 24 Mar 2016 21:07:49 +0000 (22:07 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 2 May 2016 15:54:32 +0000 (15:54 +0000)
commitd4fa6758d6b94aad894854c0fe6fcd82e7bbefd6
tree4ff6106d38e59c3e97910d88b8ff54ec9cf37005
parent2b43286e7f65957e6ef73fd76ccac9d5db4089cc
BUG-5414 introduce EOS inJeopardy flag

The inJeopardy flag is used to indicate that the leader has lost quorum,
e.g. if cannot reach majority of followers or the follower has lost connection
to the leader (and has initiated new elections).

While EOS is in jeopardy, any reported entity state may not reflect cluster-wide
consensus, but rather represents the latest intended state as seen by this node.

Change-Id: I18df5a11ebbef6607fb0a0754ba0f09bc52f19ba
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/clustering/EntityOwnershipChange.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipListenerSupport.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShard.java