BUG-5414 introduce EOS inJeopardy flag 87/38287/3
authorRobert Varga <rovarga@cisco.com>
Thu, 24 Mar 2016 21:07:49 +0000 (22:07 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 20 May 2016 08:32:53 +0000 (08:32 +0000)
commit48782a2705d0a16b71057b6db1bd58f21d1e8b23
tree0a61c51964dccbed74e7ff4c3f0e885e10e0feb3
parent24ecd42ebc7f48de4975717166edea4406a19fd7
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>
(cherry picked from commit d4fa6758d6b94aad894854c0fe6fcd82e7bbefd6)
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