You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2016/04/11 09:30:25 UTC

[jira] [Comment Edited] (IGNITE-2965) Failed to read class name from file on deserialization

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

Anton Vinogradov edited comment on IGNITE-2965 at 4/11/16 7:30 AM:
-------------------------------------------------------------------

Implemented, waiting for TeamCity check.


was (Author: avinogradov):
Implemented, waoting for TeamCity check.

> Failed to read class name from file on deserialization
> ------------------------------------------------------
>
>                 Key: IGNITE-2965
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2965
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>            Reporter: Semen Boikov
>            Assignee: Anton Vinogradov
>            Priority: Critical
>             Fix For: 1.6
>
>
> I added test MarshallerCacheJobRunNodeRestartTest from time to reproducing error 'Failed to read class name from file' during during deserialization.
> This is some issue with marshaller cache: it is updated usign putIfAbsent method, now its implementation has a race and sometimes it can exit before value is updated on backup node. As a workaround for marshaller cache I usggest using 'getAndPut' instead of 'putIfAbsent (just need implement 'tryGetAndPut' method which will not wait for topology changes).
> Also let's make error message in MarshallerContextImpl.className more informative.



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