[
https://issues.apache.org/jira/browse/IGNITE-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov closed IGNITE-2965.
------------------------------------
Merged to master
> 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)