You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2017/05/22 16:04:04 UTC

[jira] [Commented] (IGNITE-1133) Exception is thrown when atomics are accessed within a user transaction

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

Dmitriy Pavlov commented on IGNITE-1133:
----------------------------------------

This code completes ok for current Ignite version. Probably it was fixed within [IGNITE-2893] change

> Exception is thrown when atomics are accessed within a user transaction
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-1133
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1133
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Alexey Goncharuk
>             Fix For: 2.1
>
>
> The following code does not work:
> {code}
>         try (Transaction tx = ig.transactions().txStart(PESSIMISTIC, REPEATABLE_READ)) {
>             g.atomicSequence(locSeqName1, 0, true);
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)