cassandra-commits mailing list archives

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

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

Mime
View raw message