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

Reply via email to