[
https://issues.apache.org/jira/browse/HBASE-16301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405152#comment-15405152
]
Enis Soztutar commented on HBASE-16301:
---------------------------------------
bq. One minor improvement here is that for bestFlushableRegion and
bestAnyRegion, they can be resolved in one loop and return a pair instead of
two separate loops.
Seems orthogonal. We can do it in a different issue.
> Trigger flush without waiting when compaction is disabled on a table
> --------------------------------------------------------------------
>
> Key: HBASE-16301
> URL: https://issues.apache.org/jira/browse/HBASE-16301
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: huaxiang sun
> Assignee: huaxiang sun
> Priority: Minor
> Attachments: HBASE-16301-v001.patch, HBASE-16301-v002.patch
>
>
> When compaction is disabled on a table, flush needs to wait
> MemStoreFlusher#blockingWaitTime (default value is 90 seconds) before it goes
> ahead to flush. It has side effect that client may be blocked due to
> RegionTooBusyException. Please see the mail sent to dev list.
> http://mail-archives.apache.org/mod_mbox/hbase-dev/201607.mbox/%[email protected]%3E
> I guess that the right behavior is to do flush without waiting if compaction
> is disabled on a table. Attached a patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)