SofiaSedova commented on code in PR #12156:
URL: https://github.com/apache/ignite/pull/12156#discussion_r2176903673


##########
docs/_docs/key-value-api/transactions.adoc:
##########
@@ -85,6 +85,11 @@ 
include::code-snippets/cpp/src/transactions.cpp[tag=transactions-execution,inden
 
 --
 
+[WARNING]
+====
+It is critical that an Ignite Trusnsaction be `closed` regardless of its 
commit state. This ensures that all resources are released and the transaction 
is no longer bind to the current thread. Therefore, the `try-with-resource` 
block is highly recommended when working with transactions.

Review Comment:
   ```suggestion
   It is critical that an Ignite Transaction be `closed` regardless of its 
commit state. This ensures that all resources are released and the transaction 
is no longer bound to the current thread. Therefore, the `try-with-resource` 
block is highly recommended when working with transactions.
   ```



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