[ 
https://issues.apache.org/jira/browse/CASSANDRA-16649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365274#comment-17365274
 ] 

Michael Semb Wever commented on CASSANDRA-16649:
------------------------------------------------


bq. I'm thinking that solving that is going to be easier, and more 
maintainable, by using SemVer4j inside Versions.Major.

The full suite of changes is the following:

For _cassandra-in-jvm-dtest-api _
1. 
https://github.com/apache/cassandra-in-jvm-dtest-api/compare/trunk...thelastpickle:mck/16649
2. https://github.com/thelastpickle/cassandra-in-jvm-dtest-api/pull/1
3. https://github.com/thelastpickle/cassandra-in-jvm-dtest-api/pull/2

That implements version 4.0 and 4.1 in (1), introduces the SemVer4j library for 
internal version parsing and handling in (2), and introduces SemVer4j into the 
API replacing the {{Versions.Major}} enum with SemVer4j's {{Semer}} class in 
(3).

For _cassandra-4.0_
A. 
https://github.com/apache/cassandra/compare/cassandra-4.0...thelastpickle:mck/16649/4.0
B. https://github.com/thelastpickle/cassandra/pull/1 

(A) is the changes required for 1, and (B) is the changes required for 3.

In addition, (A) changes upgrades from testing the single explicit path, to 
testing all upgrade paths that are (globally) supported within the specified 
{{from}} and {{to}} range. Where {{to}} is not specified it is implied to be 
the {{CURRENT}} version.

The final patches for all of these put together are
 - cassandra-in-jvm-dtest-api :: 
https://github.com/apache/cassandra-in-jvm-dtest-api/compare/trunk...thelastpickle:mck/16649_all
 - cassandra-4.0 :: 
https://github.com/apache/cassandra/compare/cassandra-4.0...thelastpickle:mck/16649_all/4.0




> Add Versions.Major.v4X to Java DTests (after cassandra-4.0 branch was created)
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16649
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16649
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Test/dtest/java
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 4.0.x, 4.x
>
>
> - 
> https://github.com/apache/cassandra-in-jvm-dtest-api/compare/trunk...thelastpickle:mck/16649
> - 
> https://github.com/apache/cassandra/compare/trunk...thelastpickle:mck/16649/trunk
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to