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


##########
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:
   Ive removed the default implementation. I can't see another way to provide 
an information that the transactions was rolled back because of timeout 
exceeded. 



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