You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/01 20:59:00 UTC

[jira] [Closed] (HBASE-14257) Periodic flusher only handles hbase:meta, not other system tables

     [ https://issues.apache.org/jira/browse/HBASE-14257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell closed HBASE-14257.
---------------------------------------

> Periodic flusher only handles hbase:meta, not other system tables
> -----------------------------------------------------------------
>
>                 Key: HBASE-14257
>                 URL: https://issues.apache.org/jira/browse/HBASE-14257
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: Lars George
>            Assignee: Abhishek Singh Chouhan
>            Priority: Major
>              Labels: beginner
>             Fix For: 1.2.0, 1.3.0, 2.0.0
>
>         Attachments: HBASE-14257.patch, HBASE-14257.patch
>
>
> In {{HRegion.shouldFlush}} we have
> {code}
>     long modifiedFlushCheckInterval = flushCheckInterval;
>     if (getRegionInfo().isMetaRegion() &&
>         getRegionInfo().getReplicaId() == HRegionInfo.DEFAULT_REPLICA_ID) {
>       modifiedFlushCheckInterval = META_CACHE_FLUSH_INTERVAL;
>     }
> {code}
> That method is called by the {{PeriodicMemstoreFlusher}} thread, and prefers the {{hbase:meta}} only for faster flushing. It should be doing the same for other system tables. I suggest to use {{HRI.isSystemTable()}}.



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