hemantk-12 opened a new pull request, #5968:
URL: https://github.com/apache/ozone/pull/5968

   ## What changes were proposed in this pull request?
   Currently we use different locks to provide consistent view of the snapshot 
cache. Which are causing multiple problem e.g. 
[deadlock](https://issues.apache.org/jira/browse/HDDS-9871), [race 
condition](https://issues.apache.org/jira/browse/HDDS-10076).
   In this change, a reentrant lock is used to achieve the synchronization 
which give the consistency view of the cache. And Guava's Striped is used to 
distribute the lock so that multiple thread can access the cache at the same 
time.
   
   ## What is the link to the Apache JIRA
   HDDS-10103
   
   ## How was this patch tested?
   Existing unit and integration 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to