X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FShardDataTree.java;h=bf3b200825bc0c07c2283e7ceaf5d0c25363561a;hp=a990b50a3222e5dbbc21ad3eaa8ee99b5279ddca;hb=4f1f2ae598588f6aa5aac59b2206d97ad402a193;hpb=a0b8be5ce48c0d1e0b573d1952211913c58d4935 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java index a990b50a32..bf3b200825 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java @@ -208,7 +208,10 @@ public class ShardDataTree extends ShardDataTreeTransactionParent { final DataTreeModification unwrapped = unwrap(mod); dataTree.validate(unwrapped); - dataTree.commit(dataTree.prepare(unwrapped)); + DataTreeCandidateTip candidate = dataTree.prepare(unwrapped); + dataTree.commit(candidate); + notifyListeners(candidate); + LOG.debug("{}: state snapshot applied in %s", logContext, elapsed); }