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

Introducing a new config to disable writes during recovering

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0, 0.95.1
    • 0.98.0, 0.95.2
    • regionserver
    • None
    • Reviewed

    Description

      In distributedLogReplay(hbase-7006), we allow writes even when a region is in recovering. It may cause undesired behavior when applications(or deployments) already are near its write capacity because distributedLogReplay generates more write traffic to remaining region servers.

      The new config "hbase.regionserver.disallow.writes.when.recovering" tries to address the above situation so that recovering won't be affected by application normal write traffic.

      The default value of this config is false(meaning allow writes in recovery)

      Attachments

        1. HBASE-8617.patch
          8 kB
          Jeffrey Zhong
        2. HBASE-8617-v2.patch
          9 kB
          Jeffrey Zhong
        3. hbase-8617-v3.patch
          9 kB
          Jeffrey Zhong

        Issue Links

          Activity

            People

              jeffreyz Jeffrey Zhong
              jeffreyz Jeffrey Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: