CONTROLLER-1641: Integrate DataTreeCohortActor with pipe-lining 61/66861/5
authorTom Pantelis <tompantelis@gmail.com>
Thu, 4 Jan 2018 04:52:12 +0000 (23:52 -0500)
committerRobert Varga <nite@hq.sk>
Mon, 29 Jan 2018 19:03:19 +0000 (19:03 +0000)
commit30bf4ce61e67ca32a2132a1eaed213a02f247ac4
tree6bef2c5865cfaacb5f3ae05acc7ca70942e5ab8e
parentb290cd9fcd9f6d0bc3cf8868e406d2420a9ac021
CONTROLLER-1641: Integrate DataTreeCohortActor with pipe-lining

The DataTreeCohortActor was originally written assuming that only
one 3-phase commit was in progress at any time and thus maintained
a single state. However with transaction pipe-lining there can be
multiple simultaneous 3-phase commits so DataTreeCohortActor was
modified to maintain/track state per transaction.

In addition, it now also handles the DOMDataTreeCommitCohort
Futures async.

Change-Id: Ib7588ea2e32b297a2db0b532726549f9ec61a1a4
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActor.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActorTest.java [new file with mode: 0644]

©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.