You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wellington Chevreuil (Jira)" <ji...@apache.org> on 2022/09/08 11:58:00 UTC

[jira] [Commented] (HBASE-27313) Persist list of Hfiles names for which prefetch is done

    [ https://issues.apache.org/jira/browse/HBASE-27313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601778#comment-17601778 ] 

Wellington Chevreuil commented on HBASE-27313:
----------------------------------------------

Had merged the PR into master branch. Tried cherry-picking it to branch-2, but there are some compilation failures for both TestPrefetchRSClose and TestPrefetchPersistence. TestPrefetchPersistence errors were easy to fix, just a name change on the HBaseTestUtil, but TestPrefetchRSClose seems to rely on some classes that don't exist nor have any equivalent in branch-2: SingleProcessHBaseCluster and StartTestingClusterOption. [~skota@cloudera.com] , could you create a branch-2 compatible PR?

> Persist list of Hfiles names for which prefetch is done
> -------------------------------------------------------
>
>                 Key: HBASE-27313
>                 URL: https://issues.apache.org/jira/browse/HBASE-27313
>             Project: HBase
>          Issue Type: Improvement
>          Components: BucketCache
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: Shanmukha Haripriya Kota
>            Assignee: Shanmukha Haripriya Kota
>            Priority: Major
>             Fix For: 3.0.0-alpha-4
>
>
> Persist list of Hfiles names for which prefetch is completed when persist for in-memory bucket cache mapping state is enabled.
> We need to persist the Set, which contains a list of all the HFiles for which the prefetch has completed along with the In-memory state of the bucket cache so that when we restart and if any prefetch is scheduled again for the same HFile and we already have the in-memory state retrieved, we can skip the prefetch for it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)