clebertsuconic commented on a change in pull request #3838:
URL: https://github.com/apache/activemq-artemis/pull/3838#discussion_r743323587



##########
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/AbstractJournalStorageManager.java
##########
@@ -1236,6 +1238,22 @@ public JournalLoadInformation loadMessageJournal(final 
PostOffice postOffice,
       }
    }
 
+   private void failedToPrepareException(PreparedTransactionInfo txInfo, 
Throwable e) {
+      XidEncoding encodingXid = null;
+      try {
+          encodingXid = new XidEncoding(txInfo.getExtraData());
+      } catch (Throwable ignored) {
+      }
+
+      ActiveMQServerLogger.LOGGER.warn("Failed to load prepared TX " + 
encodingXid.xid + ", Prepared Transaction will be rolled back", e);

Review comment:
       I will make this as a Logger with a code. Hence the PR is a draft still.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to