IGNITE-28512 Message serializer for PartitionKey#13084
IGNITE-28512 Message serializer for PartitionKey#13084Vladsz83 wants to merge 18 commits intoapache:masterfrom
Conversation
| * Management task result. | ||
| */ | ||
| public class VisorTaskResult<R> extends IgniteDataTransferObject { | ||
| public class VisorTaskResult<R> implements Serializable { |
There was a problem hiding this comment.
Why Serializable, not Message?
There was a problem hiding this comment.
Because the thin client protocol doesnt support messages. And the realisation is far beyond this ticket.
There was a problem hiding this comment.
Should we remove @Order from fields then?
| this.clientRouterNodeId = node.isClient() ? node.id() : null; | ||
|
|
||
| attrs = Collections.singletonMap(ATTR_NODE_CONSISTENT_ID, consistentId); | ||
| public static <PK, CK extends PK, V> Map<CK, V> downcast(Map<PK, V> m) { |
There was a problem hiding this comment.
We already have several downcast and upcast methods in ServerImpl, TcpDiscoveryImpl. May be we should move them to IgniteUtils and merge (if possible).
There was a problem hiding this comment.
It is only about TcoDiscoveryNode and ZookeeperNode which might be removed in future with zookeper discovery removal. With zookeper removal, the upcast and downcast would be even rarer.
Possible compatibility issues. Please, check rolling upgrade casesThis PR modifies protected classes (with Order annotation). Affected files:
|
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see tabPR Checkat TC.Bot - Instance 1 or TC.Bot - Instance 2)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.