Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0, 2.0.0
-
Reviewed
-
Memstore periodic flusher used to flush META table every 5 minutes but not any other system tables. This jira extends it to flush all system tables within this time period.
Description
In HRegion.shouldFlush we have
long modifiedFlushCheckInterval = flushCheckInterval; if (getRegionInfo().isMetaRegion() && getRegionInfo().getReplicaId() == HRegionInfo.DEFAULT_REPLICA_ID) { modifiedFlushCheckInterval = META_CACHE_FLUSH_INTERVAL; }
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().