Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9547

Document DML operations prohibited inside transaction

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.17
    • documentation, sql
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Artem Budnikov Artem Budnikov
              jooger Iurii Gerzhedovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: