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

Semen Boikov commented on IGNITE-2669:
--------------------------------------

This is issue with enums handling with BinaryMarshaller: when value if prepared 
to be stored in cache it is handled as 'primitive' type (see 
CacheObjectBinaryProcessorImpl.marshalToBinary, BinaryUtils.isBinaryType 
returns 'true' for enum) on the other side after enum value unmarshalling 
BinaryEnumObjectImpl is created. I think enums always should be handled in the 
same way, so 'CacheObjectBinaryProcessorImpl.marshalToBinary' should also 
createBinaryEnumObjectImpl.

> IgniteCache.replace() returns false instead of true when there is only one 
> node
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-2669
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2669
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Valentin Kulichenko
>            Assignee: Semen Boikov
>            Priority: Critical
>              Labels: customer
>             Fix For: 1.6
>
>         Attachments: ReplaceTest.java
>
>
> Test attached.



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

Reply via email to