Bug 2340: Fixed chained Tx not ready prior next create 59/12659/1
authortpantelis <tpanteli@brocade.com>
Sun, 2 Nov 2014 21:44:34 +0000 (16:44 -0500)
committertpantelis <tpanteli@brocade.com>
Mon, 3 Nov 2014 01:32:08 +0000 (20:32 -0500)
commit78858fc9455ca14e92ddd53d1b563f5bc8d9a246
treed92f9b770cc995821ae83355e5cbd76914b5948e
parent4dd0108a91d84a7133ef6b781911e87903981bc1
Bug 2340: Fixed chained Tx not ready prior next create

On new*Transaction, utilized the new State classes to obtain
the previous Tx's ready Futures and pass then to the new
ChainedTransactionProxy. This makes it deterministic so that
a Tx will always get ready Futures from the previous Tx.

Change-Id: Icc017285bd5ceb118e98d3e38ec9a10a9144155e
Signed-off-by: tpantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionChainProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreIntegrationTest.java