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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: cache
    • Labels:
      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

              • Assignee:
                SomeFire Ryabov Dmitrii
                Reporter:
                dsetrakyan Dmitriy Setrakyan
              • Votes:
                1 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: