ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1011) GridDhtLockRequest marshals GridLeanMap with KeyCacheObjectImpl as a key
Date Thu, 23 Jul 2015 06:05:05 GMT

    [ 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().


> 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

This message was sent by Atlassian JIRA

View raw message