SzyWilliam opened a new pull request, #792: URL: https://github.com/apache/ratis/pull/792
## What changes were proposed in this pull request? ServerState.getLeaderId() still returns itself when a leader just steps down. This PR proposes to update leader to null when stepping down. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-1754 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ratis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org