Ilya Shishkov created IGNITE-28050:
--------------------------------------

             Summary: Use MessageSerializer for 
StartRoutineAckDiscoveryMessage, StartRoutineDiscoveryMessage, 
StartRoutineDiscoveryMessageV2
                 Key: IGNITE-28050
                 URL: https://issues.apache.org/jira/browse/IGNITE-28050
             Project: Ignite
          Issue Type: Task
            Reporter: Ilya Shishkov
            Assignee: Ilya Shishkov
             Fix For: 2.19


Excessive wrapping and tangled class hierarchy complicate migration of 
discovery custom messages to the new message framework:
{{DiscoveryCustomMessage}} is wrapped into {{CustomMessageWrapper}} (implements 
{{DiscoverySpiCustomMessage}}), which in turn is wrapped by 
{{TcpDiscoveryCustomEventMessage}} ({{TcpDiscoveryAbstractMessage}} hierarchy).
 
*What can be done:*
* {{CustomMessageWrapper}} (extends {{DiscoverySpiCustomMessage}}) can be 
deleted, it is just a wrapper.
* {{DiscoverySpiCustomMessage}} interface is redundant. Can be temporary 
transformed into ordinary class (issue for complete deletion IGNITE-27778).
* All {{DiscoverySpiCustomMessage}} inheritors can inherit from 
{{DiscoveryCustomMessage}}



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

Reply via email to