Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.1.0, 2.0.1
    • Fix Version/s: 3.0.0, 2.2.0, 2.1.1, 2.0.2
    • Component/s: None
    • Labels:
      None

      Description

      In MergeTableRegionsProcedure, we issue UnassignProcedures to offline regions to merge. But if we restart master just after MergeTableRegionsProcedure finished these two UnassignProcedure and before it can delete their meta entries. The new master will found these two region is CLOSED but no procedures are attached to them. They will be regard as RIT regions and nobody will clean the RIT state for them later.
      A quick way to resolve this stuck situation in the production env is restarting master again, since the meta entries are deleted in MergeTableRegionsProcedure. Here, I offer a fix for this problem.

        Attachments

        1. HBASE-20860.branch-2.0.002.patch
          8 kB
          Allan Yang
        2. HBASE-20860.branch-2.0.003.patch
          7 kB
          Allan Yang
        3. HBASE-20860.branch-2.0.004.patch
          7 kB
          Allan Yang
        4. HBASE-20860.branch-2.0.005.patch
          6 kB
          Allan Yang
        5. HBASE-20860.branch-2.0.patch
          8 kB
          Allan Yang

          Activity

            People

            • Assignee:
              allan163 Allan Yang
              Reporter:
              allan163 Allan Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: