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

BTreeRow.hashCode() is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.5, 3.5
    • None
    • None
    • Low

    Description

      CASSANDRA-10193 changed BTreeRow to not contain an instance of the column definition, but AbstractRow.hashCode() still uses it to calculate hash. As a result the value returned is always different, breaking any use of Row as key.

      AFAICS currently unused, needed for tests in CASSANDRA-7019.

      Attachments

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              blambov Branimir Lambov
              Branimir Lambov
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: