zhoulii commented on code in PR #9321:
URL: https://github.com/apache/paimon/pull/9321#discussion_r3840427458


##########
paimon-core/src/main/java/org/apache/paimon/manifest/ManifestFile.java:
##########
@@ -363,6 +375,11 @@ public boolean isCacheEnabled() {
             return cache != null;
         }
 
+        /** Returns whether a manifest of this size is eligible for the 
configured cache. */
+        public boolean isCacheable(long fileSize) {

Review Comment:
   With the default caching catalog settings, maxElementSize is 1 MB 
(cache.manifest.small-file-threshold), while manifest.target-file-size defaults 
to 8 MB. Therefore, normal manifest files can exceed maxElementSize.



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