[
https://issues.apache.org/jira/browse/IGNITE-29337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Chesnokov reassigned IGNITE-29337:
--------------------------------------------
Assignee: Aleksandr Chesnokov
> RU: compatibility test for communication and discovery messages
> ---------------------------------------------------------------
>
> Key: IGNITE-29337
> URL: https://issues.apache.org/jira/browse/IGNITE-29337
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Nikolay Izhikov
> Assignee: Aleksandr Chesnokov
> Priority: Major
>
> Compatibility in both directions (X <-> Y). When RU mode is enabled, old data
> is read by new code and new data is read by old code.
> Two test runs: X > Y, X < Y.
> h3. Scenario
> # Start a node of version X.
> # On the node, create all messages registered in {{MessageFactory}}.
> # Stop node X, start a node of version Y.
> # Pass the messages to node Y as {{Map<Short, T2<byte[], String>>}}:
> #* {{Short}} - message type.
> #* {{byte[]}} - content written by {{MessageWriter}}.
> #* {{String}} - content in JSON form.
> # On node Y read each message with {{MessageReader}} and check that all
> fields (up to {{@Since}}, {{@Until}}) are read.
> h3. Coverage requirement
> The test must not rely on a manually maintained list of messages. It must
> either gather all of them automatically (from {{MessageFactory}}), or
> explicitly fail as soon as a new one is added that the test does not cover.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)