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-2719) Value is not copied in entry processor if optimized marshaller is used
Date Sun, 28 Feb 2016 16:45:18 GMT

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

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

GitHub user agura opened a pull request:

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

    ignite-2719 Value is not copied in entry processor

    Fix for https://issues.apache.org/jira/browse/IGNITE-2719

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

    $ git pull https://github.com/agura/incubator-ignite ignite-2719

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

    https://github.com/apache/ignite/pull/520.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 #520
    
----
commit 0079e966cd706d9fdb0b558ba706c3eb70bc9a2f
Author: agura <agura@gridgain.com>
Date:   2016-02-28T16:43:58Z

    ignite-2719 Value is not copied in entry processor

----


> Value is not copied in entry processor if optimized marshaller is used
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-2719
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2719
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Valentin Kulichenko
>            Assignee: Andrey Gura
>            Priority: Blocker
>              Labels: community, important
>             Fix For: 1.6
>
>         Attachments: CacheEntryProcessorCopySelfTest.java
>
>
> If {{OptimizedMarshaller}} is used, the {{MutableEntry}} passed to entry processor contains
the same instance that is stored in cache, even if {{copyOnRead}} flag is true.
> This happens because {{CacheLazyEntry.getValue()}} method never creates a copy.
> Test attached.



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

Mime
View raw message