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
- causes
-
IGNITE-20579 Finally restrict atomic operations inside the transaction (remove the system property)
- Resolved
- is related to
-
IGNITE-12622 Forbid mixed cache groups with both atomic and transactional caches
- Open
-
IGNITE-8801 Change default behaviour of atomic operations inside transactions
- Resolved
-
IGNITE-23110 Disallow IgniteCache#clear inside transaction
- Resolved
- relates to
-
IGNITE-8801 Change default behaviour of atomic operations inside transactions
- Resolved
- links to