You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/22 20:43:13 UTC

[jira] [Commented] (IGNITE-2893) Atomic structures should not use transactions

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

ASF GitHub Bot commented on IGNITE-2893:
----------------------------------------

GitHub user DoudTechData opened a pull request:

    https://github.com/apache/ignite/pull/666

    IGNITE-2893 Atomic structures use entry processors instead of transactions

    

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

    $ git pull https://github.com/DoudTechData/ignite ignite-2893

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

    https://github.com/apache/ignite/pull/666.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 #666
    
----
commit 515bbcccccc8acd20adf3fe8f1e72399ebcf1dab
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:33:46Z

    implements increments, adds, compareAndSets methods using atomic EntryProcessor instead of transactions.

commit 35239929c3e7f386ab065eadd7603ab82b134cc4
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:34:51Z

    implements compareAndSets methods using atomic EntryProcessor instead of transactions.

commit 088aaacc0bc96c882a9b177512cb3da89443306b
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:36:53Z

    implements range reservertion using atomic EntryProcessor instead of transactions.

commit 4f2028807dd3355df2b5ff7970860cc3c99f03cd
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:38:08Z

    implements Sets, compareAndSets methods using atomic EntryProcessor instead of transactions.

commit cdca7a432a0159709c2446f2e72723ccf817972f
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:39:05Z

    implements init and count down methods using atomic EntryProcessor instead of transactions.

commit 551d53678c8d1007c395c436286753b3632ec239
Author: Edouard Chevalier <ed...@techmydata.net>
Date:   2016-04-22T16:40:45Z

    implements ReleaseFailedNodePermits and compareAndSets (acquire/release/drain) methods using atomic EntryProcessor instead of transactions.

----


> Atomic structures should not use transactions
> ---------------------------------------------
>
>                 Key: IGNITE-2893
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2893
>             Project: Ignite
>          Issue Type: Bug
>          Components: data structures
>    Affects Versions: 1.5.0.final
>            Reporter: Valentin Kulichenko
>            Assignee: Edouard Chevalier
>              Labels: newbie
>             Fix For: 1.6
>
>
> Currently atomic structures like {{AtomicReference}}, {{AtomicLong}} and others use transactional caches and explicit transactions under the hood. This seems redundant, because can be replaced with atomic cache and {{invoke}} operations with {{EntryProcessor}}.



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