Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20828 Finish-up AMv2 Design/List of Tenets/Specification of operation
  3. HBASE-21330

ReopenTableRegionsProcedure will enter an infinite loop if we schedule a TRSP at the same time

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0
    • Component/s: amv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The problem is that, if there are regions which already have TRSPs with them, we will give up and just to REOPEN_TABLE_REGIONS_CONFIRM_REOPENED directly. And in REOPEN_TABLE_REGIONS_CONFIRM_REOPENED, if there are still regions need to be reopened, we will just back to REOPEN_TABLE_REGIONS_REOPEN_REGIONS directly. And since ReopenTableRegionsProcedure holds the exclusive lock on table, the TRSP will not have chance to execute, and the result is that, the ReopenTableRegionsProcedure just keep looping in the two states.

        Attachments

        1. HBASE-21330.patch
          9 kB
          Duo Zhang

          Activity

            People

            • Assignee:
              zhangduo Duo Zhang
              Reporter:
              zhangduo Duo Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: