swamirishi opened a new pull request, #9380:
URL: https://github.com/apache/ozone/pull/9380

   ## What changes were proposed in this pull request?
   A snapshot handle present inside a snapshot cache can be reused. Once the 
snapshot content lock is taken a rocksdb handle could be still present in the 
snapshot cache and after the atomic switch the old db handle could still get 
reused for writes thus missing potential writes on the newly switched db. Hence 
while performing the move directory a snapshot cache lock should be acquired to 
ensure the next db handle would always be from the new rocksdb handle.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-14015
   
   ## How was this patch tested?
   Working on all unit tests for Defrag service in a separate jira


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