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

Race between balancer and disable table can lead to inconsistent cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.0
    • 0.94.2
    • master
    • 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.patch
          2 kB
          Zhou wenjian
        2. HBASE-6537-trunk-v2.patch
          2 kB
          Zhou wenjian
        3. HBASE-6537-94-v2.patch
          1 kB
          zhou wenjian

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: