BUG-8941: enqueue purges once ask-based transactions resolve 84/61284/5
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 7 Aug 2017 16:16:23 +0000 (18:16 +0200)
committerStephen Kitt <skitt@redhat.com>
Fri, 11 Aug 2017 11:46:50 +0000 (11:46 +0000)
commitdf3361f6703078faff9c4b029d0021a63ebe6e6e
tree1e671795fea6c031f2c7c8af875ddd7865e716ac
parent13f8c99a25932f1b33505dadcbd3fea6608389cb
BUG-8941: enqueue purges once ask-based transactions resolve

Backend state tracking relies on the transaction log to propagate
transaction state from the leader to followers. This includes purging
of transactions, i.e. the information that the frontend will not need
the state (and the final resolution of the transaction).

Tell-based protocol handles this on the frontend, ask-based needs to
do this on the backend (as it has no notion of transaction continuation).

Change-Id: I49e787b38998ef67b4a9ef504a70822263e1a340
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-cluster-admin-impl/src/test/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcServiceTest.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinator.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.