[jira] [Created] (IGNITE-2313) Need to add a mode to fail atomic operations within a transaction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-2313) Need to add a mode to fail atomic operations within a transaction

Anton Vinogradov (Jira)
Dmitriy Setrakyan created IGNITE-2313:
-----------------------------------------

             Summary: Need to add a mode to fail atomic operations within a transaction
                 Key: IGNITE-2313
                 URL: https://issues.apache.org/jira/browse/IGNITE-2313
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Dmitriy Setrakyan
            Priority: Blocker
             Fix For: 1.6


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}}):
{code}isAllowAtomicUpdatesInTransaction(){code}

If the flag is violated, we should throw an exception with the following error message: {{Failed to execution transaction as it spans operations on atomic cache (consider setting isAllowAttomicUpdatesInTransaction() flag to true)}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)