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

   ## What changes were proposed in this pull request?
   
   1. when increment counter, also assertClose() is added to ensure db is not 
closed over race condition
   2. added increment/decrement counter for few missing methods
   3. refactor close to make asynchronous for closeOnError(), to simplify 
handling increment/decrement counter to avoid forever wait. This can happen for 
newly added methods as public method call another public method and 
closeOnError if wait for reference count, it will never be "0" and wait 
forever. To remove this coupling, async close is done for closeOnError case.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9527
   
   ## How was this patch tested?
   
   - existing test cases
   


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