SzyWilliam commented on code in PR #842:
URL: https://github.com/apache/ratis/pull/842#discussion_r1126034845


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java:
##########
@@ -594,7 +594,8 @@ private void installSnapshot(SnapshotInfo snapshot) {
     StreamObserver<InstallSnapshotRequestProto> snapshotRequestObserver = null;
     final String requestId = UUID.randomUUID().toString();
     try {
-      snapshotRequestObserver = getClient().installSnapshot(responseHandler);
+      snapshotRequestObserver = 
getClient().installSnapshot(getFollower().getName() + "-installSnapshot",

Review Comment:
   We can add the `requestId` to the name of snapshotRequestObserver, to tell 
from different installSnapshot processes.



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