Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16301

Trigger flush without waiting when compaction is disabled on a table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 1.3.0, 2.0.0
    • None
    • None

    Description

      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.

      Attachments

        1. HBASE-16301-v001.patch
          5 kB
          Hua Xiang
        2. HBASE-16301-v002.patch
          5 kB
          Hua Xiang

        Activity

          People

            huaxiang Hua Xiang
            huaxiang Hua Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: