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:01 UTC
[jira] [Comment Edited] (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 edited comment on RATIS-380 at 7/26/19 6:32 PM:
----------------------------------------------------------
can we use auto_value to refactor this class?
FYI, [https://github.com/google/auto/tree/master/value]
was (Author: jingc):
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)