You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2015/07/23 08:05:05 UTC
[jira] [Commented] (IGNITE-1011) GridDhtLockRequest marshals
GridLeanMap with KeyCacheObjectImpl as a key
[ https://issues.apache.org/jira/browse/IGNITE-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638216#comment-14638216 ]
Denis Magda commented on IGNITE-1011:
-------------------------------------
Investigated and fixed.
Fix is the following. Instead of marshalling GridLeanMap now two separate arrays for keys and values are marshalled independently. This lets to avoid calling the hashCode().
Merged.
> GridDhtLockRequest marshals GridLeanMap with KeyCacheObjectImpl as a key
> ------------------------------------------------------------------------
>
> Key: IGNITE-1011
> URL: https://issues.apache.org/jira/browse/IGNITE-1011
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: sprint-5
> Reporter: Denis Magda
> Assignee: Dmitriy Setrakyan
> Priority: Blocker
> Fix For: sprint-6
>
>
> This causes AssertionError during unmarshalling when KeyCacheObjectImpl is unmarshalled and hashCode() is called for it. HashCode fails because a wrapped value is used to determine the hash code but it's not unmrashalled.
> The issue exists for a long time and can reproduce when different conditions are met.
> In addition to GridDhtLockRequest other classes with the same issue must be found and fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)