jianghuazhu commented on PR #1177:
URL: https://github.com/apache/ratis/pull/1177#issuecomment-2550888995

   @szetszwo , I updated it.
   From running the test, I found some problems. Here are some:
   1. When cluster#shutdown() is called, there is no guarantee that 
RaftServerProxy will release all resources in advance.
   2. The stack shows that LogSegment#readSegmentFile() is a very important 
entry.
   Therefore, I improved a few points:
   1. When cluster#shutdown() is called, try to release all resources as much 
as possible.
   2. Where necessary, add some captures and call 
ReferenceCountedObject#release().
   After many tests, no problems were found when running TestRaftWithGrpc.
   ci : https://github.com/jianghuazhu/ratis/actions/runs/12390154687


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