[jira] [Created] (IGNITE-2719) Value is not copied in entry processor if optimized marshaller is used

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-2719) Value is not copied in entry processor if optimized marshaller is used

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-2719:
-------------------------------------------

             Summary: 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: Valentin Kulichenko
            Priority: Blocker
             Fix For: 1.6


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)