bereng commented on code in PR #2880:
URL: https://github.com/apache/cassandra/pull/2880#discussion_r1387511320


##########
test/unit/org/apache/cassandra/io/sstable/LegacySSTableTest.java:
##########
@@ -101,7 +101,7 @@ public class LegacySSTableTest
     // Get all versions up to the current one. Useful for testing in 
compatibility mode C18301
     private static String[] getValidLegacyVersions()
     {
-        String[] versions = {"oa", "da", "nc", "nb", "na", "me", "md", "mc", 
"mb", "ma"};
+        String[] versions = {"oa", "da", "nb", "na", "me", "md", "mc", "mb", 
"ma"};
         return Arrays.stream(versions).filter((v) -> 
v.compareTo(BigFormat.getInstance().getLatestVersion().toString()) <= 
0).toArray(String[]::new);

Review Comment:
   `oa` needs to be filtered out unless you do `test-oa`. So in compatibility 
mode you can go up to nb, out of it you can go up to oa.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to