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 1f8800f5d34fea884d483ff9a1d39bf082799b06..2087da07596cb90f20637bfe1d14f3dc414efd2f 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());