OneSizeFitsQuorum commented on code in PR #1440:
URL: https://github.com/apache/ratis/pull/1440#discussion_r3158277496
##########
ratis-server/src/main/java/org/apache/ratis/server/impl/FollowerState.java:
##########
@@ -158,8 +158,8 @@ private void runImpl() {
}
synchronized (server) {
if (roleChangeChecking(electionTimeout)) {
- LOG.info("{}: change to CANDIDATE, lastRpcElapsedTime:{},
electionTimeout:{}",
- this, lastRpcTime.elapsedTime(), electionTimeout);
+ LOG.info("{}: change to CANDIDATE, lastRpcElapsedTime:{}ms,
electionTimeout:{}",
Review Comment:
why we add ms for lastRpcElapsedTime but not electionTimeout
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]