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
- incorporates
-
IGNITE-17916 Deprecate IGNITE_ALLOW_ATOMIC_OPS_IN_TX system property
- Reopened
- is related to
-
IGNITE-2313 Need to add a mode to fail atomic operations within a transaction
- Resolved
-
IGNITE-23110 Disallow IgniteCache#clear inside transaction
- Patch Available
- relates to
-
IGNITE-2313 Need to add a mode to fail atomic operations within a transaction
- Resolved
- links to