denis-chudov commented on code in PR #6413:
URL: https://github.com/apache/ignite-3/pull/6413#discussion_r2287804175


##########
modules/api/src/main/java/org/apache/ignite/tx/IgniteTransactions.java:
##########
@@ -125,7 +127,9 @@ default CompletableFuture<Transaction> beginAsync() {
      * }
      * </pre>
      *
-     * <p>If the closure is executed normally (no exceptions) the transaction 
is automatically committed.
+     * <p>If the closure is executed normally (no exceptions) the transaction 
is automatically committed. In a case of exception, the
+     * closure will be retried automatically within the transaction timeout, 
so it must be pure function. If the transaction timeout
+     * expires before the closure succeeds and transaction is committed, then 
the transaction is rolled back.

Review Comment:
   This is correct but poorly worded. I tried to rephrase this.



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