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

   ## What changes were proposed in this pull request?
   Currently OmSnapshotPurgeResponse acquires a write lock SNAPSHOT_DB_LOCK 
while deleting the directory. This lock is acquired to avoid race condition 
with SstFilteringService. If there are threads which have opened a snapshot 
which inturn acquires a readlock on a snapshot this doesn't let the 
transactions get flushed. In this test case we have a deleted snapshot which is 
not closing the referenceCounted info in snapshot. PurgeRequest would be 
eventually changed to acquire a SNAPSHOT_META_LOCK by @smengcl 's patch 
https://github.com/apache/ozone/pull/8555. 
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13244
   
   ## How was this patch tested?
   Fixed failing unit test


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to