Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16794

CassandraVersion compareTo does not order SNAPSHOT versions properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0
    • Legacy/Core
    • None

    Description

      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")

      Attachments

        Activity

          People

            blerer Benjamin Lerer
            blerer Benjamin Lerer
            Benjamin Lerer
            Michael Semb Wever
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m