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%2Fsharding%2FDistributedShardChangePublisher.java;h=57e75136c77ce2025bfd8d02667c048eceac27f9;hp=0eef92ad145cb1d3c8497dc972c695f7f3ee1645;hb=refs%2Fchanges%2F63%2F63363%2F6;hpb=223118feea5b282ce8ea7cf1b26a09858ff67875 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardChangePublisher.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardChangePublisher.java index 0eef92ad14..57e75136c7 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardChangePublisher.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardChangePublisher.java @@ -57,9 +57,6 @@ public class DistributedShardChangePublisher private final AbstractDataStore distributedDataStore; private final YangInstanceIdentifier shardPath; - // This will be useful for signaling back pressure - private final DataStoreClient client; - private final Map childShards; @GuardedBy("this") @@ -69,7 +66,6 @@ public class DistributedShardChangePublisher final AbstractDataStore distributedDataStore, final DOMDataTreeIdentifier prefix, final Map childShards) { - this.client = client; this.distributedDataStore = distributedDataStore; // TODO keeping the whole dataTree thats contained in subshards doesn't seem like a good idea // maybe the whole listener logic would be better in the backend shards where we have direct access to the @@ -306,7 +302,7 @@ public class DistributedShardChangePublisher // data tree yet. Postpone processing of these changes till we // receive changes from current shard. LOG.debug("Validation for modification built from subshard {} changes {} failed, current data tree {}.", - pathFromRoot, changes, dataTree); + pathFromRoot, changes, dataTree, e); stashedDataTreeCandidates.addAll(newCandidates); } }