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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Semen Boikov created IGNITE-2965:
------------------------------------

             Summary: 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
            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)