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


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -587,7 +588,8 @@ private HybridTimestamp 
currentReadTimestamp(HybridTimestamp beginTx) {
             // Remote partition already has different consistency token, so we 
can't commit this transaction anyway.
             // Even when graceful primary replica switch is done, we can get 
here only if the write intent that requires resolution
             // is not under lock.
-            // TODO https://issues.apache.org/jira/browse/IGNITE-27386 the 
reason of rollback needs to be explained.
+            tx.recordAbortReason(new 
PrimaryReplicaExpiredException(senderGroupId, enlistment.consistencyToken(), 
null, null));

Review Comment:
   We changed reusing rollbackWithExceptionAsync, should not be a problem now.



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