Make sure we purge transaction on abort 40/81940/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 May 2019 11:22:10 +0000 (13:22 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 7 May 2019 12:12:34 +0000 (12:12 +0000)
commite67356302fcec71f2898c0e251b961dfceb83e48
tree8b6149edda976d989d053ab050a642446ddc127e
parentfaa7cb4fe505ccc4b60d284ca917ab529cebcf8b
Make sure we purge transaction on abort

In case of read-only transactions it is not sufficient to just
persist the abort payload, we need to also purge the transaction.

Change-Id: I8761040d074743b5a1c5eebbecc6449c30abe47e
JIRA: CONTROLLER-1879
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit bc301a153a07be7c23327e85179974422624c80a)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java