You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (JIRA)" <ji...@apache.org> on 2018/09/11 14:56:00 UTC

[jira] [Created] (IGNITE-9547) Document DML operations prohibited inside transaction

Yury Gerzhedovich created IGNITE-9547:
-----------------------------------------

             Summary: Document DML operations prohibited inside transaction
                 Key: IGNITE-9547
                 URL: https://issues.apache.org/jira/browse/IGNITE-9547
             Project: Ignite
          Issue Type: Task
          Components: documentation, sql
            Reporter: Yury Gerzhedovich
             Fix For: 2.7


Docs says:

""Presently, DML supports the atomic mode only meaning that if there is a DML query that is executed as a part of an Ignite transaction then it will not be enlisted in the transaction's writing queue and will be executed right away""

However it's wrong.

We need to document that now any DML operations is prohibited and throw Exception in case it will be executed inside a transaction.

 

Also appeared new boolean property IGNITE_ALLOW_DML_INSIDE_TRANSACTION. it is necessary to emulate the old behavior. In case value is true then DML operation is allowed, but it be applied only after transaction will be commited.

By default value is false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)