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

Honor flush policy under global memstore pressure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 1.3.1
    • regionserver
    • None
    • Hide
      Prior to this change, when the memstore low water mark is exceeded on a regionserver, the regionserver will force flush all stores on the regions selected for flushing until we drop below the low water mark. With this change, the regionserver will continue to force flush regions when above the memstore low water mark, but will only flush the stores returned by the configured FlushPolicy.
      Show
      Prior to this change, when the memstore low water mark is exceeded on a regionserver, the regionserver will force flush all stores on the regions selected for flushing until we drop below the low water mark. With this change, the regionserver will continue to force flush regions when above the memstore low water mark, but will only flush the stores returned by the configured FlushPolicy.

    Description

      When global memstore reaches the low water mark, we pick the best flushable region and flush all column families for it. This is a suboptimal approach in the sense that it leads to an unnecessarily high file creation rate and IO amplification due to compactions. We should still try to honor the underlying FlushPolicy.

      Attachments

        1. HBASE-16755.v0.patch
          1 kB
          Ashu Pachauri

        Issue Links

          Activity

            People

              ashu210890 Ashu Pachauri
              ashu210890 Ashu Pachauri
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: