You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2018/01/02 19:09:00 UTC

[jira] [Commented] (RATIS-179) Improve the log message in leader election and refactor the tests

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

Chen Liang commented on RATIS-179:
----------------------------------

Thanks [~szetszwo] for working on this! +1 on 20171223 patch. I've committed the patch. Thanks for the contribution!

> Improve the log message in leader election and refactor the tests 
> ------------------------------------------------------------------
>
>                 Key: RATIS-179
>                 URL: https://issues.apache.org/jira/browse/RATIS-179
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: r179_20171222.patch, r179_20171223.patch
>
>
> Log message changes:
> - when a server changes role, log also the term and the reason.
> - when a server changes the recognized Leader, log also the term and the reason.
> Test refactoring:
> - Move the leader election tests from RaftBasicTests to a new class since RaftBasicTests is getting large.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)