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

   ## What changes were proposed in this pull request?
   Use Concurrent Set for `permits` in `PendingRequests`.
   
   Instead of using `HashMap` to track the permits in 
`PendingRequests#RequestMap` we can use Concurrent Set and avoid explicit 
synchronization.
   
   ## What is the link to the Apache JIRA
   RATIS-2319
   
   ## How was this patch tested?
   Existing unit tests.
   


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