[
https://issues.apache.org/jira/browse/HBASE-29568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032182#comment-18032182
]
Wellington Chevreuil commented on HBASE-29568:
----------------------------------------------
I believe the validation can all be made in DataTieringManager.isHotData()
method, which already gets a Configuration within its parameters. So it could
check if the grace period config is set, validate if the grace period is still
valid, then return true, otherwise, proceed with the current logic.
> Allow for a configurable "grace period" when using Time Based Priority
> ----------------------------------------------------------------------
>
> Key: HBASE-29568
> URL: https://issues.apache.org/jira/browse/HBASE-29568
> Project: HBase
> Issue Type: Sub-task
> Reporter: Wellington Chevreuil
> Priority: Major
>
> This aims to introduce a "grace period" functionality in the bucket cache
> time based priority feature, allowing blocks for the given CF marked for
> grace period to have its age ignored by the time priority logic.
> The use case here is that "cold" data may have to be accessed rarely, by some
> batch jobs, so that in these rare job runs, it can be temporarily placed in
> the cache, then de-prioritised again.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)