hello-stephen commented on code in PR #71398:
URL: https://github.com/apache/doris/pull/71398#discussion_r4796895137


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/iceberg/IcebergExternalMetaCache.java:
##########
@@ -1332,6 +1354,7 @@ private void dropManifestFileIoCaches(List<FileIO> 
fileIos) {
     private void dropManifestFileIoCache(FileIO fileIo) {
         try {
             ManifestFiles.dropCache(fileIo);
+            IcebergAuthenticatedFileIO.dropCache(fileIo);

Review Comment:
   [P3] Keep retired manifest readers from evicting the write cache. After 
`REFRESH CATALOG`, an in-flight query can keep loading each remaining manifest 
through the retired Doris entry. Those loads use the raw FileIO, but their 
cleanup reaches this helper and drops the authenticated SDK cache too. If a 
write warms the cache between those loads, a later write can have to reopen the 
same manifests on HDFS. HiveCatalog and HadoopCatalog share FileIO across 
tables, so the effect can reach other tables in the catalog. Keep 
retired-reader cleanup scoped to the raw FileIO and evict authenticated 
adapters in the catalog-wide invalidation path.



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