nandakumar131 commented on PR #1275:
URL: https://github.com/apache/ratis/pull/1275#issuecomment-3043384134

   @szetszwo, the failure was caused by deadlock between 
`ResourceSemaphore.Group#acquire` and `ResourceSemaphore.Group#release`. 
   I have removed the synchronization in `ResourceSemaphore.Group` which was 
added to  make the `acquire` and `tryAcquire` calls atomic. I don't think we 
will run into any correctness issue even if we don't have synchronization in 
`ResourceSemaphore.Group`. Let me know if you feel otherwise.


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