[
https://issues.apache.org/jira/browse/IGNITE-29338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolay Izhikov updated IGNITE-29338:
-------------------------------------
Description:
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 extending {{IgniteDataTransferObject}}. They
can be found by scanning the classpath or by traversing the arguments of the
commands available from {{IgniteCommandRegistry}}.
# Stop node X, start a node of version Y.
# Pass the messages to node Y as {{Map<Class, T2<byte[], String>>}}:
#* {{Class}} - message type.
#* {{byte[]}} - content written by Java serialization.
#* {{String}} - content in JSON form.
# On node Y read each message with Java serialization 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
{{IgniteDataTransferObject}} classes. It must either gather all of them
automatically (by a classpath scan or from {{IgniteCommandRegistry}}), or
explicitly fail as soon as a new one is added that the test does not cover.
was:
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 extending {{IgniteDataTransferObject}}. They
can be found by scanning the classpath or by traversing the arguments of the
commands available from {{IgniteCommandRegistry}}.
# Stop node X, start a node of version Y.
# Pass the messages to node Y as {{Map<Class, T2<byte[], String>>}}:
#* {{Class}} - message type.
#* {{byte[]}} - content written by Java serialization.
#* {{String}} - content in JSON form.
# On node Y read each message with Java serialization and check that all fields
(up to {{@Since}}, {{@Until}}) are read.
> RU: compatibility test for IgniteDataTransferObject messages
> ------------------------------------------------------------
>
> Key: IGNITE-29338
> URL: https://issues.apache.org/jira/browse/IGNITE-29338
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Nikolay Izhikov
> 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 extending {{IgniteDataTransferObject}}.
> They can be found by scanning the classpath or by traversing the arguments of
> the commands available from {{IgniteCommandRegistry}}.
> # Stop node X, start a node of version Y.
> # Pass the messages to node Y as {{Map<Class, T2<byte[], String>>}}:
> #* {{Class}} - message type.
> #* {{byte[]}} - content written by Java serialization.
> #* {{String}} - content in JSON form.
> # On node Y read each message with Java serialization 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
> {{IgniteDataTransferObject}} classes. It must either gather all of them
> automatically (by a classpath scan or from {{IgniteCommandRegistry}}), 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)