You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (Jira)" <ji...@apache.org> on 2022/09/09 08:14:00 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-9547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Taras Ledkov updated IGNITE-9547:
---------------------------------
    Fix Version/s: 2.15
                       (was: 2.14)

> 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
>            Assignee: Artem Budnikov
>            Priority: Major
>             Fix For: 2.15
>
>
> 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
(v8.20.10#820010)