ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sapego (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3455) Entry placed on C++ side is not found on Java side
Date Fri, 08 Jul 2016 19:16:11 GMT

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

Igor Sapego commented on IGNITE-3455:
-------------------------------------

Ok, It seems C++ and Java {{DFId}} types have different type ids. This seems to be a cause
- when I have changed C++ method {{BinaryType<area51::ignite::DFId>::GetTypeId()}} to
return the same type id it all began to work. I'll examine this issue further.

> Entry placed on C++ side is not found on Java side
> --------------------------------------------------
>
>                 Key: IGNITE-3455
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3455
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache, platforms
>            Reporter: Denis Magda
>            Assignee: Igor Sapego
>            Priority: Blocker
>         Attachments: cpp.zip, java.zip
>
>
> If a custom key is used for cache values then the following scenario doesn't work:
> - value is placed on C++ side;
> - value is read on Java side (value is not found here).
> Reverse direction is not workable as well.
> HashCode is implemented properly in C++ and Java.
> Fast debugging showed that a partition and primary node is calculated properly. Looks
like that there is a serialization related issue that leads to the situation when "equals"
fails during an object lookup.



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

Mime
View raw message