[
https://issues.apache.org/jira/browse/CASSANDRA-16794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Lerer updated CASSANDRA-16794:
---------------------------------------
Fix Version/s: (was: 4.0-rc3)
4.0
Since Version: 4.0-alpha1
Source Control Link:
https://github.com/apache/cassandra/commit/b42855282d260bcd16412a1ed9da0227ee0c065e
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Committed into cassandra-4.0.0 at b42855282d260bcd16412a1ed9da0227ee0c065e and
merged into cassandra-4.0 and trunk.
> CassandraVersion compareTo does not order SNAPSHOT versions properly
> --------------------------------------------------------------------
>
> Key: CASSANDRA-16794
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16794
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Core
> Reporter: Benjamin Lerer
> Assignee: Benjamin Lerer
> Priority: Normal
> Fix For: 4.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{CassandraVersion::compareTo}} does not order {{SNAPSHOT}} versions properly
> in several scenario.
> It return wrong results for the 2 following usecases:
> 1. {{new CassandraVersion("4.0-rc2").compareTo(("4.0.0-SNAPSHOT")}}
> 2. {{new CassandraVersion("4.0-rc2").compareTo(("4.0-rc2-SNAPSHOT")}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]