symious opened a new pull request, #1363:
URL: https://github.com/apache/ratis/pull/1363

   ## What changes were proposed in this pull request?
   
   When onCompleted() is called, the client waits for the server response to 
finish the RPC and release the underlying resources.
   
   However, in some cases the server response may never arrive, which leaves 
the RPC stream open and prevents resources from being released.
   
   This ticket introduces a client-side cancel() after a short grace period 
following onCompleted(), to ensure the RPC stream is forcefully closed and 
resources are cleaned up.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-2421
   
   ## How was this patch tested?
   
   Test locally.
   


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