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

Table can be forcibly enabled in AssignmentManager during table disabling.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • master, Region Assignment
    • None
    • Reviewed

    Description

      Got situation where region can be opened while table is disabling by DisableTableHandler. Here is relevant log for such situation. There is no clues who issued OPEN to region.

      Log file attached.

      UPD: A bit more details. It seems that even in case of new state put into meta, it still possible to get previous state.
      That leads to one more round of assignment invoked in AssignmentManager#onRegionClosed.

      UPD: Table become ENABLED, thats leads to regions instructed to assign immediately on onRegionClosed. BulkDisabler will not know about that and will wait indefinitely, because it will not issue unassign for newly opened regions.

      Attachments

        1. HBASE-13076.patch
          1 kB
          Andrey Stepachev
        2. 23757f039d83f4f17ca18815eae70b28.log
          53 kB
          Andrey Stepachev

        Issue Links

          Activity

            People

              octo47 Andrey Stepachev
              octo47 Andrey Stepachev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: