cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11316) BTreeRow.hashCode() is broken
Date Wed, 09 Mar 2016 14:29:40 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Eriksson updated CASSANDRA-11316:
----------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 3.0.x)
                       (was: 3.x)
                   3.5
                   3.0.5
           Status: Resolved  (was: Patch Available)

> BTreeRow.hashCode() is broken
> -----------------------------
>
>                 Key: CASSANDRA-11316
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11316
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Minor
>             Fix For: 3.0.5, 3.5
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message