You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/04/27 17:57:00 UTC

[jira] [Updated] (RATIS-1543) log from GrpcLogAppender is confusing

     [ https://issues.apache.org/jira/browse/RATIS-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated RATIS-1543:
------------------------------------
    Fix Version/s: 2.5.0

> log from GrpcLogAppender is confusing
> -------------------------------------
>
>                 Key: RATIS-1543
>                 URL: https://issues.apache.org/jira/browse/RATIS-1543
>             Project: Ratis
>          Issue Type: Improvement
>          Components: gRPC
>            Reporter: George Huang
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 3.0.0, 2.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.10#820010)