You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (Jira)" <ji...@apache.org> on 2021/07/12 10:30:00 UTC

[jira] [Comment Edited] (CASSANDRA-16794) CassandraVersion compareTo does not order SNAPSHOT versions properly

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

Benjamin Lerer edited comment on CASSANDRA-16794 at 7/12/21, 10:29 AM:
-----------------------------------------------------------------------

|| Branch || CI ||
| [4.0.0|https://github.com/apache/cassandra/pull/1107] | [j8|https://app.circleci.com/pipelines/github/blerer/cassandra/182/workflows/4a681f71-4a95-4456-84c0-b6f4940ca34c], [j11|https://app.circleci.com/pipelines/github/blerer/cassandra/182/workflows/0b9d07ba-7e7e-4487-8c91-d699026a22e0]|


was (Author: blerer):
|| 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org