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

Nikolay Izhikov updated IGNITE-29339:
-------------------------------------
    Description: 
Backward compatibility (X -> Y): old records are read by new code.
One test run: X < Y.

This test is not tied to the RU/RD process. Ignite must support an upgrade on 
the same PDS.

h3. Scenario
# Start a node of version X.
# On the node, create WAL records of all types.
# Stop node X, start a node of version Y.
# Pass the records to node Y as {{Map<Integer, byte[]>}}:
#* {{Integer}} - record type.
#* {{byte[]}} - the written WAL record.
# On node Y read each record and check that all fields are identical.

h3. Coverage requirement
The test must not rely on a manually maintained list of WAL records. It must 
either gather all of them automatically (from {{WALRecord.RecordType}}), or 
explicitly fail as soon as a new one is added that the test does not cover.

  was:
Backward compatibility (X -> Y): old records are read by new code.
One test run: X < Y.

This test is not tied to the RU/RD process. Ignite must support an upgrade on 
the same PDS.

h3. Scenario
# Start a node of version X.
# On the node, create WAL records of all types.
# Stop node X, start a node of version Y.
# Pass the records to node Y as {{Map<Integer, byte[]>}}:
#* {{Integer}} - record type.
#* {{byte[]}} - the written WAL record.
# On node Y read each record and check that all fields are identical.


> Backward compatibility test for WAL records
> -------------------------------------------
>
>                 Key: IGNITE-29339
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29339
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Nikolay Izhikov
>            Priority: Major
>
> Backward compatibility (X -> Y): old records are read by new code.
> One test run: X < Y.
> This test is not tied to the RU/RD process. Ignite must support an upgrade on 
> the same PDS.
> h3. Scenario
> # Start a node of version X.
> # On the node, create WAL records of all types.
> # Stop node X, start a node of version Y.
> # Pass the records to node Y as {{Map<Integer, byte[]>}}:
> #* {{Integer}} - record type.
> #* {{byte[]}} - the written WAL record.
> # On node Y read each record and check that all fields are identical.
> h3. Coverage requirement
> The test must not rely on a manually maintained list of WAL records. It must 
> either gather all of them automatically (from {{WALRecord.RecordType}}), 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)

Reply via email to