Change log to warn in LocalThreePhaseCommitCohort 01/74701/1
authorTom Pantelis <tompantelis@gmail.com>
Tue, 31 Jul 2018 18:22:14 +0000 (14:22 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 31 Jul 2018 18:22:14 +0000 (14:22 -0400)
Change-Id: Ieeb60989eb3665cad9cc4dc4d25c7ab7e0983437
JIRA:CONTROLLER-1855
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LocalThreePhaseCommitCohort.java

index 1f8800f..2087da0 100644 (file)
@@ -80,7 +80,7 @@ class LocalThreePhaseCommitCohort implements DOMStoreThreePhaseCommitCohort {
             @Override
             public void onComplete(final Throwable failure, final ActorSelection success) {
                 if (failure != null) {
-                    LOG.info("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
+                    LOG.warn("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
                     transactionAborted(transaction);
                     return;
                 }
@@ -98,7 +98,7 @@ class LocalThreePhaseCommitCohort implements DOMStoreThreePhaseCommitCohort {
             @Override
             public void onComplete(final Throwable failure, final Object message) {
                 if (failure != null) {
-                    LOG.error("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
+                    LOG.warn("Failed to prepare transaction {} on backend", transaction.getIdentifier(), failure);
                     transactionAborted(transaction);
                 } else if (CommitTransactionReply.isSerializedType(message)) {
                     LOG.debug("Transaction {} committed successfully", transaction.getIdentifier());

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.