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

Incorrect ComplexColumnData hashCode implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.15, 3.11.1, 4.0-alpha1, 4.0
    • None
    • None
    • Normal

    Description

      I went through some of the logs from CASSANDRA-13175 and one of the more serious issues that we should address seem to be the ComplexColumnData.hashCode() implementation. As Objects.hashCode is not using deep hashing for array arguments, hashed will be based on the identity instead of the array's content. See patch for simple fix.

      Attachments

        Activity

          People

            spod Stefan Podkowinski
            spod Stefan Podkowinski
            Stefan Podkowinski
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: