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

BTreeRow.hashCode() is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.0.5, 3.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      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

              • Assignee:
                blambov Branimir Lambov
                Reporter:
                blambov Branimir Lambov
                Authors:
                Branimir Lambov
                Reviewers:
                Marcus Eriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: