Correct logging in FrontendClientMetadataBuilder 58/66058/1
authorMartin Dindoffer <martin.dindoffer@pantheon.tech>
Tue, 21 Nov 2017 17:43:01 +0000 (18:43 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 29 Nov 2017 12:29:38 +0000 (12:29 +0000)
Change-Id: I7851d72119607dbb354e213e82091354792b063b
Signed-off-by: Martin Dindoffer <martin.dindoffer@pantheon.tech>
(cherry picked from commit e5d4949c74b1d6cf50c16eaabf5600d255a743f4)

opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/FrontendClientMetadataBuilder.java

index 519a360b06fd57245cfba8191d791939435ddfa1..8c204220a0f2154510e2966e87d196ec39b5936b 100644 (file)
@@ -119,7 +119,7 @@ final class FrontendClientMetadataBuilder implements Builder<FrontendClientMetad
         final FrontendHistoryMetadataBuilder history = getHistory(txId);
         if (history != null) {
             history.onTransactionAborted(txId);
-            LOG.debug("{}: Committed transaction {}", shardName, txId);
+            LOG.debug("{}: Aborted transaction {}", shardName, txId);
         } else {
             LOG.warn("{}: Unknown history for aborted transaction {}, ignoring", shardName, txId);
         }
@@ -129,7 +129,7 @@ final class FrontendClientMetadataBuilder implements Builder<FrontendClientMetad
         final FrontendHistoryMetadataBuilder history = getHistory(txId);
         if (history != null) {
             history.onTransactionCommitted(txId);
-            LOG.debug("{}: Aborted transaction {}", shardName, txId);
+            LOG.debug("{}: Committed transaction {}", shardName, txId);
         } else {
             LOG.warn("{}: Unknown history for commited transaction {}, ignoring", shardName, txId);
         }