You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jing Chen (JIRA)" <ji...@apache.org> on 2019/07/26 18:33:00 UTC

[jira] [Commented] (RATIS-380) RaftGroup#hashCode should take peers into account

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

Jing Chen commented on RATIS-380:
---------------------------------

can we use auto_value to refactor this class?

> RaftGroup#hashCode should take peers into account
> -------------------------------------------------
>
>                 Key: RATIS-380
>                 URL: https://issues.apache.org/jira/browse/RATIS-380
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Priority: Minor
>
> Currently RaftGroup#hashCode produces hash code only based on groupId.
> This is unsymmetrical with {{equals}} where peers is also considered.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)