ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2313) Need to add a mode to fail atomic operations within a transaction
Date Fri, 31 Mar 2017 08:10:41 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950501#comment-15950501

ASF GitHub Bot commented on IGNITE-2313:

GitHub user SomeFire opened a pull request:




You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SomeFire/ignite ignite-2313

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1709
commit 630f6db753e1fee024209cd122b7f3aae991cee4
Author: Дмитрий Рябов <somefireone@gmail.com>
Date:   2017-03-06T12:53:27Z

    Merge pull request #2 from apache/master

commit 1c6c3adf7d6b504e2f805c8fbb2139652f6dbd15
Author: Dmitrii Ryabov <somefireone@gmail.com>
Date:   2017-03-30T08:25:56Z

    Merge branch 'master' of https://github.com/apache/ignite into apache-master

commit abae25b3ecd364c3924167d1ca04bffcd21c3bc9
Author: Dmitrii Ryabov <somefireone@gmail.com>
Date:   2017-03-30T13:17:07Z

    Atomic cache throws exception while in transaction now.


> 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: Blocker
>             Fix For: 2.0
> 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

View raw message