mchades commented on code in PR #8254:
URL: https://github.com/apache/gravitino/pull/8254#discussion_r2300082185


##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/FilesetCatalogCache.java:
##########
@@ -80,6 +107,14 @@ private Cache<NameIdentifier, FilesetCatalog> 
newCatalogCache(
         .build();
   }
 
+  private Cache<NameIdentifier, Fileset> newFilesetCache(
+      ScheduledThreadPoolExecutor filesetCleanScheduler) {
+    return Caffeine.newBuilder()
+        .maximumSize(100)
+        
.scheduler(Scheduler.forScheduledExecutorService(filesetCleanScheduler))

Review Comment:
    ok, if it's unnecessary, I'll remove all the scheduler from the client side.
   
   BTW, it's first introduced by the PR #4320 in 
[GravitinoVirtualFileSystem.java](https://github.com/apache/gravitino/pull/4320/files#diff-64c5b87c772c66c642144ad44764c1339ad846ddc013000c52c9ab503cbce02eR141-R145)



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