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

Forcing region state offline cause double assignment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.0
    • master
    • None
    • Reviewed

    Description

      In assigning a region, assignment manager forces the region state offline if it is not. This could cause double assignment, for example, if the region is already assigned and in the Open state, you should not just change it's state to Offline, and assign it again.

      I think this could be the root cause for all double assignments IF the region state is reliable.

      After this loophole is closed, TestHBaseFsck should come up a different way to create some assignment inconsistencies, for example, calling region server to open a region directly.

      Attachments

        1. trunk-6611_v2.patch
          135 kB
          Jimmy Xiang
        2. trunk-6611_v5.patch
          228 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: