hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14257) Periodic flusher only handles hbase:meta, not other system tables
Date Wed, 19 Aug 2015 16:46:47 GMT
Lars George created HBASE-14257:
-----------------------------------

             Summary: 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: 2.0.0, 1.2.0
            Reporter: Lars George


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
(v6.3.4#6332)

Mime
View raw message