You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "George Huang (Jira)" <ji...@apache.org> on 2022/03/02 19:28:00 UTC
[jira] [Created] (RATIS-1543) log from GrpcLogAppender is confusing
George Huang created RATIS-1543:
-----------------------------------
Summary: log from GrpcLogAppender is confusing
Key: RATIS-1543
URL: https://issues.apache.org/jira/browse/RATIS-1543
Project: Ratis
Issue Type: Bug
Components: gRPC
Reporter: George Huang
log is confusing, sample log:
:
|11:50:33.405 PM|WARN|GrpcLogAppender|b10a9cc8-27da-465f-88b6-b018f1f3e120@group-36C03A05E474->922c1eba-d889-4ab5-a291-13a39d4cf47f-GrpcLogAppender: Leader has not got in touch with Follower b10a9cc8-27da-465f-88b6-b018f1f3e120@group-36C03A05E474->922c1eba-d889-4ab5-a291-13a39d4cf47f(c-1,m0,n54227, attendVote=true, lastRpcSendTime=0, lastRpcResponseTime=391556447) yet, just keep nextIndex unchanged and retry.|
In this case, here is the leader and follower info:
LEADER:b10a9cc8-27da-465f-88b6-b018f1f3e120
FOLLOWER:922c1eba-d889-4ab5-a291-13a39d4cf47f
Seems the corresponding code is at here:
:
if (onError && getFollower().getMatchIndex() == 0 && request == null) {
LOG.warn("{}: Leader has not got in touch with Follower {} yet, " +
"just keep nextIndex unchanged and retry.", this, getFollower());
return;
}
from .../ratis/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
--
This message was sent by Atlassian Jira
(v8.20.1#820001)