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

All Regions are flushed at about same time when MEMSTORE_PERIODIC_FLUSH is on, causing flush spike

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • None
    • Performance
    • None

    Description

      In our production cluster, we observed that memstore flush spike every hour for all regions/RS. (we use the default memstore periodic flush time of 1 hour).

      This will happend when two conditions are met:
      1. the memstore does not have enough data to be flushed before 1 hour limit reached;
      2. all regions are opened around the same time, (e.g. all RS are started at the same time when start a cluster).

      With above two conditions, all the regions will be flushed around the same time at: startTime+1hour-delay again and again.

      We added a flush jittering time to randomize the flush time of each region, so that they don't get flushed at around the same time. We had this feature running in our 94.7 and 94.26 cluster. Recently, we upgrade to 1.2, found this issue still there in 1.2. So we are porting this into 1.2 branch.

      Attachments

        Activity

          People

            tychang Tianying Chang
            tychang Tianying Chang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: