jhungund commented on code in PR #5829:
URL: https://github.com/apache/hbase/pull/5829#discussion_r1565267535


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java:
##########
@@ -934,6 +936,27 @@ void freeSpace(final String why) {
     }
     try {
       freeInProgress = true;
+
+      // Fetch the file names from the backing map.

Review Comment:
   The main logic is to rely on the file names. Fetch the file names from the 
block cache keys.
   Pass the list to a new DataTieringManager API to detect which of these files 
are cold-files and return the list of cold files.



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