BUG-6111: implement PingPongTransactionChain cancelation 58/43058/3
authorRobert Varga <rovarga@cisco.com>
Wed, 3 Aug 2016 15:15:57 +0000 (17:15 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 8 Aug 2016 08:05:01 +0000 (08:05 +0000)
commit72821ccd7b91e6400acbbd71f7007942e5fac872
tree211b0721e59facb3fe37da351094366cfd54c6e4
parent39099729980149990766f98297ba7f0359c37036
BUG-6111: implement PingPongTransactionChain cancelation

This patch implements transaction cancelation in PingPongDataBroker,
which has slightly different semantics -- if a transaction is canceled
while being in a batch, proper isolation of the batch is maintained
and after preceding batch completes, the transaction chain is aborted.

Since there is no transaction isolation within a batch, this is the
only course of action we can take.

Change-Id: I0058503165dbfba8748a17a9ef9272265f4bc1c9
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/broker/impl/PingPongTransactionChain.java