yandrey321 commented on PR #10987:
URL: https://github.com/apache/ozone/pull/10987#issuecomment-5246544422

   >previously, these handles remained open while KeyDeletingService submitted 
synchronous OM requests. This could >form the following circular wait:
   
   1. KeyDeletingService retains a snapshot DB read lock.
   2. OMDoubleBufferFlushThread processes a snapshot purge that needs the 
colliding write lock.
   
   if step 2 is synchronous call, is it possible to check if the thread has a 
read lock before obtaining write lock and upgrade read to write lock instead of 
waiting for write lock? 


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