sanpwc commented on code in PR #5209:
URL: https://github.com/apache/ignite-3/pull/5209#discussion_r1961512355


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/InternalTransaction.java:
##########
@@ -143,4 +144,17 @@ IgniteBiTuple<ClusterNode, Long> enlist(
      * @return The future.
      */
     CompletableFuture<Void> kill();
+
+    /**
+     * Rolls back the transaction if the timeout is exceeded.
+     *
+     * @return The future.
+     */
+    default CompletableFuture<Void> rollbackTimeoutExceededAsync() {

Review Comment:
   Please explain why do we need this method in addition to common 
rollbackAsync().



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to