keepConcentration opened a new pull request, #8682:
URL: https://github.com/apache/gravitino/pull/8682

   ### What changes were proposed in this pull request?
   
   - Fixed an issue in `ClientPoolImpl#get` where a new client could still be 
returned after the pool was closed.  
   - Modified the loop to re-check the `closed` flag to ensure no new clients 
are created or returned after pool closure.  
   
   ### Why are the changes needed?
   
   Improved so that when the pool is closed, `get()` calls fail and throw an 
exception.
   
   Fix: #8668
   
   ### Does this PR introduce _any_ user-facing change?
   
   No user-facing changes.
   
   ### How was this patch tested?
   
   Executed existing unit 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]

Reply via email to