X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FThreePhaseCommitCohort.java;h=e6adfbee660669afd0889995c5e4ec0c755810e9;hb=184dcbf28d9382eb68c00bca88223b66ae97c120;hp=00d4ab5782e3e7f0a365bdd9ace5be917b423dc1;hpb=c3140359f8fc9759a309cb2d0476df5609952894;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohort.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohort.java index 00d4ab5782..e6adfbee66 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohort.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohort.java @@ -9,6 +9,7 @@ package org.opendaylight.controller.cluster.datastore; import akka.actor.ActorRef; +import akka.actor.PoisonPill; import akka.actor.Props; import akka.actor.UntypedActor; import akka.event.Logging; @@ -94,6 +95,8 @@ public class ThreePhaseCommitCohort extends UntypedActor { shardActor.forward(new ForwardedCommitTransaction(cohort, modification), getContext()); + getContext().parent().tell(PoisonPill.getInstance(), getSelf()); + } private void preCommit(PreCommitTransaction message) {