[ https://issues.apache.org/jira/browse/IGNITE-8846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519565#comment-16519565 ]
ASF GitHub Bot commented on IGNITE-8846: ---------------------------------------- GitHub user ascherbakoff opened a pull request: https://github.com/apache/ignite/pull/4241 IGNITE-8846 Optimize entry transform operations. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-8846 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/4241.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 #4241 ---- commit cf12c78b4f87469d0f7c2a234b9e1f4dc34c10f4 Author: Aleksei Scherbakov <alexey.scherbakoff@...> Date: 2018-06-21T16:34:40Z IGNITE-8846 Optimize entry transform operations. ---- > Optimize entry transform operations. > ------------------------------------ > > Key: IGNITE-8846 > URL: https://issues.apache.org/jira/browse/IGNITE-8846 > Project: Ignite > Issue Type: Improvement > Affects Versions: 2.5 > Reporter: Alexei Scherbakov > Assignee: Alexei Scherbakov > Priority: Major > Fix For: 2.6 > > > 1. For pessimistic transactions entryProcessor is invoked twice if tx entry > is already exists in [1] > and after lock acquistion in [2] > Actually this is enough to do it only once in postLockWrite. > 2. Cache entry value is not needed on near node if EntryProcessor declares > Void return type. > We should try to detect this in runtime or provide some kind of annotation to > mark EntryProcessor not caring about return value. This will bring huge > performance benefit for transactions updating large values using > transformations. > [1] > org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal#enlistWriteEntry > [2] > org.apache.ignite.internal.processors.cache.transactions.IgniteTxLocalAdapter#postLockWrite -- This message was sent by Atlassian JIRA (v7.6.3#76005)