[
https://issues.apache.org/jira/browse/IGNITE-29339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Vinogradov 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. WAL segment compatibility
Use version X to write a WAL segment containing a record with known field
values. Use the standard WAL reader in version Y to open that segment, read the
record and verify those values. If an existing recovery test covers these steps
for the same version pair, link to it.
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.
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.
> 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
> Assignee: Dmitry Werner
> 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. WAL segment compatibility
> Use version X to write a WAL segment containing a record with known field
> values. Use the standard WAL reader in version Y to open that segment, read
> the record and verify those values. If an existing recovery test covers these
> steps for the same version pair, link to it.
> 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)