duongkame commented on code in PR #1032:
URL: https://github.com/apache/ratis/pull/1032#discussion_r1470382505


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java:
##########
@@ -52,11 +52,13 @@ class GrpcServerProtocolService extends 
RaftServerProtocolServiceImplBase {
 
   static class PendingServerRequest<REQUEST> {
     private final REQUEST request;
+    private final ReferenceCountedObject<REQUEST> requestRef;
+    private AtomicBoolean released = new AtomicBoolean(false);

Review Comment:
   nice



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