cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Podkowinski (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-13263) Incorrect ComplexColumnData hashCode implementation
Date Tue, 05 Sep 2017 11:05:00 GMT


Stefan Podkowinski updated CASSANDRA-13263:
       Resolution: Fixed
    Fix Version/s: 4.0
           Status: Resolved  (was: Patch Available)

I'm pretty sure that fixing a hashCode function that isn't even used yet will cause much harm.
Merged as 1e80e35 for 3.0 upwards with your suggested changes. Thanks for reviewing.

> Incorrect ComplexColumnData hashCode implementation
> ---------------------------------------------------
>                 Key: CASSANDRA-13263
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>             Fix For: 3.0.15, 3.11.1, 4.0
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message