XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.1.0, 2.0.1
    • None
    • None
    • None

    Description

      SCP can be scheduled multiple times for the same RS:
      1. a RS crashed, a SCP was submitted for it
      2. before this SCP finish, the Master crashed
      3. The new master will scan the meta table and find some region is still open on a dead server
      4. The new master submit a SCP for the dead server again
      The two SCP for the same RS can even execute concurrently if without HBASE-20846

      Provided a test case to reproduce this issue and a fix solution in the patch.

      Another case that SCP might be scheduled multiple times for the same RS(with HBASE-20708.):
      1. a RS crashed, a SCP was submitted for it
      2. A new RS on the same host started, the old RS's Serveranme was remove from DeadServer.deadServers
      3. after the SCP passed the Handle_RIT state, a UnassignProcedure need to send a close region operation to the crashed RS
      4. The UnassignProcedure's dispatch failed since 'NoServerDispatchException'
      5. Begin to expire the RS, but only find it not online and not in deadServer list, so a SCP was submitted for the same RS again

      Attachments

        1. HBASE-20976.branch-2.0.002.patch
          2 kB
          Allan Yang
        2. HBASE-20976.branch-2.0.001.patch
          8 kB
          Allan Yang

        Issue Links

          Activity

            People

              allan163 Allan Yang
              allan163 Allan Yang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: