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

Nikolay Izhikov updated IGNITE-29336:
-------------------------------------
    Description: 
h2. Definitions
* RU - rolling upgrade. Upgrading the Apache Ignite version without a full 
cluster stop.
* RD - rolling downgrade. Rolling an RU back to the original version because of 
a failure or critical problems found.

h2. Compatible versions
Apache Ignite provides compatibility one minor version forward (backward):
# {{2.X.Y <-> 2.X.Z}} - any releases of the same minor version. {{X >= 18}}, 
{{Y >= 0}}, {{Z > Y}}. Example: 2.18.1 is compatible with 2.18.6.
# {{2.X.Y <-> 2.[X+1].Z}} - any releases one minor version forward (backward). 
{{X >= 18}}, {{Y >= 0}}, {{Z >= 0}}. Example: 2.18.3 is compatible with 2.19.0.

h2. Goal
Develop a set of automated tests that verify the correctness of the RU (RD) 
process.

h2. Scope
RU requires compatibility of several subsystems. Each one is covered by a 
separate sub-task:
# Communication & discovery messages (both directions).
# {{IgniteDataTransferObject}} messages (both directions).
# WAL records (backward).
# Binary metadata (both directions).
# Management command format (backward).
# Affinity (must always be identical).
# Binary marshaller (both directions).
# PDS files.
# RU/RD integration tests under user load.

"Both directions" means two test runs, X > Y and X < Y: old data is read by new 
code and new data is read by old code.
"Backward" means one test run, X < Y: old data is read by new code.

h2. General requirement for subsystem tests
A subsystem test must not rely on a manually maintained list of messages 
(records). It must either gather all of them automatically, or explicitly fail 
as soon as a new message (record) is added that the test does not cover. This 
way a new message (record) cannot be added without being covered by the 
compatibility tests.

  was:
h2. Definitions
* RU - rolling upgrade. Upgrading the Apache Ignite version without a full 
cluster stop.
* RD - rolling downgrade. Rolling an RU back to the original version because of 
a failure or critical problems found.

h2. Compatible versions
Apache Ignite provides compatibility one minor version forward (backward):
# {{2.X.Y <-> 2.X.Z}} - any releases of the same minor version. {{X >= 18}}, 
{{Y >= 0}}, {{Z > Y}}. Example: 2.18.1 is compatible with 2.18.6.
# {{2.X.Y <-> 2.[X+1].Z}} - any releases one minor version forward (backward). 
{{X >= 18}}, {{Y >= 0}}, {{Z >= 0}}. Example: 2.18.3 is compatible with 2.19.0.

h2. Goal
Develop a set of automated tests that verify the correctness of the RU (RD) 
process.

h2. Scope
RU requires compatibility of several subsystems. Each one is covered by a 
separate sub-task:
# Communication & discovery messages (both directions).
# {{IgniteDataTransferObject}} messages (both directions).
# WAL records (backward).
# Binary metadata (both directions).
# Management command format (backward).
# Affinity (must always be identical).
# Binary marshaller (both directions).
# PDS files.
# RU/RD integration tests under user load.

"Both directions" means two test runs, X > Y and X < Y: old data is read by new 
code and new data is read by old code.
"Backward" means one test run, X < Y: old data is read by new code.


> Automated tests for rolling upgrade / rolling downgrade compatibility
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-29336
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29336
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Nikolay Izhikov
>            Priority: Major
>
> h2. Definitions
> * RU - rolling upgrade. Upgrading the Apache Ignite version without a full 
> cluster stop.
> * RD - rolling downgrade. Rolling an RU back to the original version because 
> of a failure or critical problems found.
> h2. Compatible versions
> Apache Ignite provides compatibility one minor version forward (backward):
> # {{2.X.Y <-> 2.X.Z}} - any releases of the same minor version. {{X >= 18}}, 
> {{Y >= 0}}, {{Z > Y}}. Example: 2.18.1 is compatible with 2.18.6.
> # {{2.X.Y <-> 2.[X+1].Z}} - any releases one minor version forward 
> (backward). {{X >= 18}}, {{Y >= 0}}, {{Z >= 0}}. Example: 2.18.3 is 
> compatible with 2.19.0.
> h2. Goal
> Develop a set of automated tests that verify the correctness of the RU (RD) 
> process.
> h2. Scope
> RU requires compatibility of several subsystems. Each one is covered by a 
> separate sub-task:
> # Communication & discovery messages (both directions).
> # {{IgniteDataTransferObject}} messages (both directions).
> # WAL records (backward).
> # Binary metadata (both directions).
> # Management command format (backward).
> # Affinity (must always be identical).
> # Binary marshaller (both directions).
> # PDS files.
> # RU/RD integration tests under user load.
> "Both directions" means two test runs, X > Y and X < Y: old data is read by 
> new code and new data is read by old code.
> "Backward" means one test run, X < Y: old data is read by new code.
> h2. General requirement for subsystem tests
> A subsystem test must not rely on a manually maintained list of messages 
> (records). It must either gather all of them automatically, or explicitly 
> fail as soon as a new message (record) is added that the test does not cover. 
> This way a new message (record) cannot be added without being covered by the 
> compatibility tests.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to