Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17845 Make Ignite Consistent Again
  3. IGNITE-8801

Change default behaviour of atomic operations inside transactions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.15
    • None
    • Hide
      IGNITE_ALLOW_ATOMIC_OPS_IN_TX turned false by default. To return the previous behaviour and to allow transactions in operations with atomic caches set
      IGNITE_ALLOW_ATOMIC_OPS_IN_TX to true in IgniteSystemProperties
      Show
      IGNITE_ALLOW_ATOMIC_OPS_IN_TX turned false by default. To return the previous behaviour and to allow transactions in operations with atomic caches set IGNITE_ALLOW_ATOMIC_OPS_IN_TX to true in IgniteSystemProperties
    • Release Notes Required

    Description

      Need to change default behaviour of atomic operations to fail inside transactions.

      1) Remove IGNITE_ALLOW_ATOMIC_OPS_IN_TX system property.
      2) Set default value to restrict atomic operations in CacheOperationContext constructor without arguments and arguments for calls of another constructor.
      3) Fix javadocs.

      As per the latest round of discussion on Ignite Dev List as of 28/10/2022 we agreed on the following:

      1) Revert deprecation IGNITE-17916 - reverted
      2) Change default value in 2.15.
      3) Notify users in release notes, an exception message - how to change the
      behavior back.

      Attachments

        Issue Links

          Activity

            People

              julia_bakulina Julia Bakulina
              SomeFire Ryabov Dmitrii
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 10m
                  5h 10m