amaliujia commented on code in PR #1597:
URL: https://github.com/apache/ratis/pull/1597#discussion_r4069095548


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java:
##########
@@ -788,6 +788,9 @@ public void onNext(InstallSnapshotReplyProto reply) {
         case SNAPSHOT_EXPIRED:
           LOG.warn("{}: Follower failed since the request expired, {}",
               name, ServerStringUtils.toInstallSnapshotReplyString(reply));
+          getFollower().setAttemptedToInstallSnapshot();
+          removePending(reply);
+          break;
         default:
           break;

Review Comment:
   done!



-- 
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]

Reply via email to