Choose owner when all candidate registrations received. 75/36075/1
authorMoiz Raja <moraja@cisco.com>
Fri, 15 Jan 2016 20:38:11 +0000 (12:38 -0800)
committerMoiz Raja <moraja@cisco.com>
Thu, 10 Mar 2016 21:06:32 +0000 (13:06 -0800)
commit476dee53f1e5582221ba9ebfe68854b0093635b9
tree2539255f5dfd62331c9e9c8a3ec30b6e201f6bd1
parent3bb563c2f38cfc6ddfcc5fb6c0387437b5c2c8df
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