vldpyatkov commented on code in PR #5146:
URL: https://github.com/apache/ignite-3/pull/5146#discussion_r1939180643
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/InternalTransaction.java:
##########
@@ -130,4 +130,11 @@ public interface InternalTransaction extends Transaction {
* @return The transaction timeout.
*/
long timeout();
+
+ /**
+ * Kills this transaction.
+ *
+ * @return The future.
+ */
+ CompletableFuture<Void> kill();
Review Comment:
This method is internal and requested only for use asynchronously, so I do
not see a reason to follow the contract, which is mostly about user convenience.
--
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]