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

Need to add a mode to fail atomic operations within a transaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • cache
    • None

    Description

      Currently atomic operations within a transaction succeed without alarming a user that no transaction really occurs. We should add a mode to fail such operations (such mode should be turned off by default).

      New transaction configuration flag (default is false):

      TransactionConfiguration.isAllowAtomicUpdatesInTransaction()

      If the flag is violated, we should throw an exception with the following error message: Transaction spans operations on atomic cache (consider setting TransactionConfiguration.isAllowAttomicUpdatesInTransaction() flag to true)

      Attachments

        Issue Links

          Activity

            People

              SomeFire Ryabov Dmitrii
              dsetrakyan Dmitriy Setrakyan
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: