You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Huaxiang Sun <hs...@cloudera.com> on 2016/07/27 22:58:59 UTC
Behavior of flush when compaction is disabled for a table
Hi,
When debugging HBASE-16293 <https://issues.apache.org/jira/browse/HBASE-16293> (Ref[1]) , we found that when compaction was disabled for a table. It still waited for blockingWaitTime before
forcing a flush (Ref[2]). Can it be changed to flush immediately if compaction is disabled for the table?
It may block the client as the memstore size exceeds the limit and region server returns RegionTooBusyException.
Please advice the correct behavior.
Thanks,
Huaxiang Sun
Ref[1] https://issues.apache.org/jira/browse/HBASE-16293?filter=-1 <https://issues.apache.org/jira/browse/HBASE-16293?filter=-1>
Ref[2] https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java#L441 <https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreFlusher.java#L441>