[ https://issues.apache.org/jira/browse/IGNITE-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16527498#comment-16527498 ]
ASF GitHub Bot commented on IGNITE-2313: ---------------------------------------- GitHub user SomeFire opened a pull request: https://github.com/apache/ignite/pull/4280 exception when try to enable atomic operation in tx IGNITE-2313 Need to add a mode to fail atomic operations within a transaction You can merge this pull request into a Git repository by running: $ git pull https://github.com/SomeFire/ignite ignite-2313-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/4280.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4280 ---- commit 27f4f3c3a415c4226df1776bc95173b6c2f2b815 Author: Dmitrii Ryabov <somefireone@...> Date: 2018-06-29T11:42:13Z exception when try to enable atomic operation in tx ---- > 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 > Assignee: Ryabov Dmitrii > Priority: Major > Fix For: 2.7 > > > 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}TransactionConfiguration.isAllowAtomicUpdatesInTransaction(){code} > 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)}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)