You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Yakov Zhdanov (JIRA)" <ji...@apache.org> on 2014/11/19 17:37:33 UTC

[jira] [Created] (IGNITE-10) Fix ignite components [de]serialization

Yakov Zhdanov created IGNITE-10:
-----------------------------------

             Summary: Fix ignite components [de]serialization
                 Key: IGNITE-10
                 URL: https://issues.apache.org/jira/browse/IGNITE-10
             Project: Ignite
          Issue Type: Task
          Components: general
            Reporter: Yakov Zhdanov
            Assignee: Dmitriy Setrakyan
             Fix For: sprint-2


Current solution: serialize grid name, then find comp by name on peer.
Current solution not working: in our internal unit tests, in distributed topology when user gives different names to nodes 
New solution: each grid thread should know its node. So, on deserialization we cast thread to e.g. IgniteThread and take its holding component from it. If it is not IgniteThread then exception should be thrown since it is anyway impossible to deserialize component outside of context.



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