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

Race between balancer and disable table can lead to inconsistent cluster

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

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

          Issue Links

            Activity

              People

              • Assignee:
                zhou wen jian Zhou wenjian
                Reporter:
                zhou wen jian Zhou wenjian
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: