HBase
  1. HBase
  2. HBASE-6537

Race between balancer and disable table can lead to inconsistent cluster

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.94.2
    • Component/s: master
    • Labels:
      None

      Description

      Appear in 94. trunk is ok for the issue
      Balancer will collect the regionplans to move(unassign and then assign).
      before unassign, disable table appears,
      after close the region in rs, master will delete the znode, romove region from RIT,
      and then clean the region from the online regions.

      During romoving region from RIT and cleaning out the region from the online regions.
      balancer begins to unassign, it will get a NotServingRegionException and if the table is disabling, it will deal with the state in master and delete the znode . However the table is disabled now, so the RIT and znode will remain. TimeoutMonitor draws a blank on it.

      It will hold back enabling the table or balancer unless restart

      1. HBASE-6537-94-v2.patch
        1 kB
        zhou wenjian
      2. HBASE-6537-trunk.patch
        2 kB
        Zhou wenjian
      3. HBASE-6537-trunk-v2.patch
        2 kB
        Zhou wenjian

        Issue Links

          Activity

            People

            • Assignee:
              Zhou wenjian
              Reporter:
              Zhou wenjian
            • Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development