[ 
https://issues.apache.org/jira/browse/IGNITE-28787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Shishkov updated IGNITE-28787:
-----------------------------------
    Description: 
Following DTO implements {{Serializable}}:
# {{CacheClientReconnectDiscoveryData}}
# {{CacheClientReconnectDiscoveryData#CacheGroupInfo}}
# {{CacheClientReconnectDiscoveryData#CacheInfo}}
# {{CacheJoinNodeDiscoveryData}}

They are transferred in {{DiscoveryDataBag}} ({{DiscoveryDataPacket}}) and 
should be transfromed to a {{Message}}. 

Some important tips:
# Implementation of {{Serializable}} should be removed if possible. (If not 
stored somewhere in MetaStorage, or in PDS).
# If it is difficult to transform to {{Message}}, message-clone DTO can be 
added, eg. {{QueryIndexMessage}}.
# Keep in mind {{#writeObject}} / {{#readObject}} and {{#readExternal}} / 
{{#writeExternal}} methods, if any.

  was:
Following DTO implements {{Serializable}}:
# {{CacheClientReconnectDiscoveryData}}
# {{CacheClientReconnectDiscoveryData#CacheGroupInfo}}
# {{CacheClientReconnectDiscoveryData#CacheInfo}}
# {{CacheNodeCommonDiscoveryData}}

They are transferred in {{DiscoveryDataBag}} ({{DiscoveryDataPacket}}) and 
should be transfromed to a {{Message}}. 

Some important tips:
# Implementation of {{Serializable}} should be removed if possible. (If not 
stored somewhere in MetaStorage, or in PDS).
# If it is difficult to transform to {{Message}}, message-clone DTO can be 
added, eg. {{QueryIndexMessage}}.
# Keep in mind {{#writeObject}} / {{#readObject}} and {{#readExternal}} / 
{{#writeExternal}} methods, if any.


> Use MessageSerializer to transfer ClusterCacheInfo DTO's in DataBag
> -------------------------------------------------------------------
>
>                 Key: IGNITE-28787
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28787
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Ilya Shishkov
>            Assignee: Ilya Shishkov
>            Priority: Minor
>              Labels: IEP-132, ise
>             Fix For: 2.19
>
>
> Following DTO implements {{Serializable}}:
> # {{CacheClientReconnectDiscoveryData}}
> # {{CacheClientReconnectDiscoveryData#CacheGroupInfo}}
> # {{CacheClientReconnectDiscoveryData#CacheInfo}}
> # {{CacheJoinNodeDiscoveryData}}
> They are transferred in {{DiscoveryDataBag}} ({{DiscoveryDataPacket}}) and 
> should be transfromed to a {{Message}}. 
> Some important tips:
> # Implementation of {{Serializable}} should be removed if possible. (If not 
> stored somewhere in MetaStorage, or in PDS).
> # If it is difficult to transform to {{Message}}, message-clone DTO can be 
> added, eg. {{QueryIndexMessage}}.
> # Keep in mind {{#writeObject}} / {{#readObject}} and {{#readExternal}} / 
> {{#writeExternal}} methods, if any.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to