[ https://issues.apache.org/jira/browse/CASSANDRA-16794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377979#comment-17377979 ]
Benjamin Lerer commented on CASSANDRA-16794: -------------------------------------------- || Branch || CI || | [4.0.0|https://github.com/apache/cassandra/pull/1107] | [j8|https://app.circleci.com/pipelines/github/blerer/cassandra/181/workflows/417d25ae-4dcf-41e3-ae81-8b61bba9a604], [j11|https://app.circleci.com/pipelines/github/blerer/cassandra/181/workflows/b9f4d30d-2517-4767-a5c2-df3270967c01]| > 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-rc3 > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org