From: Tom Pantelis Date: Wed, 22 Apr 2015 16:53:12 +0000 (-0400) Subject: Reduce non-existent Tx chain logging on close in ShardDataTree X-Git-Tag: release/lithium~225^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=b3341bb2804f0833c4e1781c0ab7dcb16e498e4b;hp=e20fff4d018e95cefd1934d2be31e5cd692fe7fa Reduce non-existent Tx chain logging on close in ShardDataTree In ShardDataTree#closeTransactionChain, if the Tx chain doesn't exist it emits a warning. However the CloseTransactionChain message is broadcasted to all shards so there will always be a non-existent chain on some shards so I reduced the log level to debug. Change-Id: Ia4243c4a2987fa4f43d272a7435a9d7b5d43445b Signed-off-by: Tom Pantelis --- 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 fbe699223c..56c5eb65bf 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 @@ -115,7 +115,7 @@ public final class ShardDataTree extends ShardDataTreeTransactionParent { if (chain != null) { chain.close(); } else { - LOG.warn("Closing non-existent transaction chain {}", transactionChainId); + LOG.debug("Closing non-existent transaction chain {}", transactionChainId); } }