Choose owner when all candidate registrations received. 94/33494/4
authorMoiz Raja <moraja@cisco.com>
Fri, 15 Jan 2016 20:38:11 +0000 (12:38 -0800)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 4 Feb 2016 22:32:41 +0000 (22:32 +0000)
commit63b1f934a6be1a4d6e4706424093f3ebebce8ede
tree8edf0851b294130414c9e6c45c60e9d7e8cf753d
parent2b7d2365c64087cfce66196bf0bf5857c0a4c315
Choose owner when all candidate registrations received.

In the Delayed Owner Selection Strategy we should not wait for
the timeout to occur when we have received the candidate
registrations for all the candidates possible in the system.

Change-Id: Ifcd1f376b050baf2e422e00bd4a93a4d9d3d6c45
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/LeastLoadedCandidateSelectionStrategy.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java