Lalant commented on code in PR #7482:
URL: https://github.com/apache/ignite-3/pull/7482#discussion_r2888516958


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -962,6 +1008,27 @@ private void validateTxFinishedAsExpected(boolean commit, 
UUID txId, Transaction
         }
     }
 
+    private @Nullable Throwable getExceptionToStore(@Nullable Throwable 
finishException, Throwable cause) {
+        if (finishException == null) {
+            return cause;
+        }
+
+        if (cause == null) {
+            return null;
+        }
+
+        if (sameClassAndMessage(finishException, cause)) {
+            return null;

Review Comment:
   We do want to skip repeated exceptions.



-- 
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