You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/02/14 20:28:32 UTC

[jira] [Updated] (CASSANDRA-6712) Equals without hashcode in SpeculativeRetry

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

Jonathan Ellis updated CASSANDRA-6712:
--------------------------------------

    Attachment: 6712.txt

As near as I can tell, SR objects are never compared with .equals so the simplest solution is to just go back to using the default implementation.

> Equals without hashcode in SpeculativeRetry
> -------------------------------------------
>
>                 Key: CASSANDRA-6712
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6712
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Trivial
>             Fix For: 2.0.6
>
>         Attachments: 6712.txt
>
>
> This could cause problems if we were to start using supposed-to-be-equal SR objects in a Hashmap.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)