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

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-11316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187151#comment-15187151 ] 

Marcus Eriksson commented on CASSANDRA-11316:
---------------------------------------------

+1, committed

> 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)