Brokenice0415 commented on code in PR #914:
URL: https://github.com/apache/ratis/pull/914#discussion_r1315582315
##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java:
##########
@@ -420,6 +420,7 @@ private void onNextImpl(AppendEntriesReplyProto reply) {
grpcServerMetrics.onRequestSuccess(getFollowerId().toString(),
reply.getIsHearbeat());
getLeaderState().onFollowerCommitIndex(getFollower(),
reply.getFollowerCommit());
if (getFollower().updateMatchIndex(reply.getMatchIndex())) {
+ increaseNextIndex(reply.getMatchIndex() + 1, reply.getResult());
Review Comment:
Thank you for your reminder. I have replaced it with the correct function.
--
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]