You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "huaxiang sun (JIRA)" <ji...@apache.org> on 2016/08/03 17:37:20 UTC

[jira] [Issue Comment Deleted] (HBASE-16301) Trigger flush without waiting when compaction is disabled on a table

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

huaxiang sun updated HBASE-16301:
---------------------------------
    Comment: was deleted

(was: Yeah, a second thought, this may not make too much difference as I can imagine that the loop most breaks out in several iterations.  )

> 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/%3C2D66B8CA-7C6F-40EA-A861-2DE5482EC7B2@cloudera.com%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)