frankliee commented on code in PR #7310:
URL: https://github.com/apache/iceberg/pull/7310#discussion_r1170739394
##########
hive-metastore/src/main/java/org/apache/iceberg/hive/CachedClientPool.java:
##########
@@ -97,10 +99,15 @@ HiveClientPool clientPool() {
private synchronized void init() {
if (clientPoolCache == null) {
+ // Since Caffeine does not ensure that removalListener will be involved
after expiration
+ // We use a scheduler with 2 threads to clean up expired clients.
Review Comment:
OK
--
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]