You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/12/22 16:31:00 UTC

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

Tsz Wo Nicholas Sze created RATIS-179:
-----------------------------------------

             Summary: 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


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)