You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Branimir Lambov (JIRA)" <ji...@apache.org> on 2016/03/08 15:15:40 UTC

[jira] [Updated] (CASSANDRA-11316) BTreeRow.hashCode() is broken

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

Branimir Lambov updated CASSANDRA-11316:
----------------------------------------
    Fix Version/s: 3.x
                   3.0.x

> 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.x, 3.x
>
>
> 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)