[ https://issues.apache.org/jira/browse/CASSANDRA-19002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783608#comment-17783608 ]
Stefan Miklosovic commented on CASSANDRA-19002: ----------------------------------------------- The patch will consist of these parts: in 3.0, 3.11, 4.0, 4.1, 5.0 and trunk, there will be "HintsMaker" class added which is used for hints generation. Its behavior is logically very similar to what CommitLogUpgradeTestMaker is currently doing. Hence we will have a way how to generate hint files and commit logs programmatically. Then, in 5.0 and trunk, there will be tests added into CommitLogUpgradeTest which is already there but it covers only commit logs replay for Cassandra 3.4. Also, in 5.0 and trunk, there will be HintsUpgradeTest added which will verify the deserialisation of hints generated in the latest 3.0 release as well as these in the latest 4.0 release (4.0.11 at the moment). There are 3 versions of hint files at the moment, 1, 2, and 3. 1 is used up to 4.0 excluded, 2 is used up to 5.0 excluded, 3 is used from 5.0 up. Hence, it does not make sense to verify that Cassandra 5.0 can read its own hint files, we will go just with version 1 and version 2 of hint files for 5.0 and trunk branches. > Create / update tests to ensure commit logs and hints for all versions in MS > are ingestible in 5.0 > -------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-19002 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19002 > Project: Cassandra > Issue Type: Task > Components: Test/unit > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 5.0-beta, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > This is follow up of CASSANDRA-18314 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org