Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14350 Procedure V2 Phase 2: Assignment Manager
  3. HBASE-13823

Procedure V2: unnecessaery operations on AssignmentManager#recoverTableInDisablingState() and recoverTableInEnablingState()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • master, proc-v2
    • None
    • Incompatible change
    • Hide
      For cluster upgraded from 1.0.x or older releases, master startup would not continue the in-progress enable/disable table process. If orphaned znode with ENABLING/DISABLING state exists in the cluster, run hbck or manually fix the issue.

      For new cluster or cluster upgraded from 1.1.x and newer release, there is no issue to worry about.
      Show
      For cluster upgraded from 1.0.x or older releases, master startup would not continue the in-progress enable/disable table process. If orphaned znode with ENABLING/DISABLING state exists in the cluster, run hbck or manually fix the issue. For new cluster or cluster upgraded from 1.1.x and newer release, there is no issue to worry about.

    Description

      AssignmentManager#recoverTableInDisablingState() and AssignmentManager#recoverTableInEnablingState try to complete unfinished enable/disable table operations. In the past, it is necessary, as master failure could leave table in bad state. With HBASE-13211, enable/disable operations would be auto-recover by Procedure-V2 logic. Those recovery operation is not necessary: we can either remove those recovery operation or not replay enable/disable operations in procedure queue.

      Attachments

        1. HBASE-13823.v5-master.patch
          46 kB
          Stephen Yuan Jiang
        2. HBASE-13823-v0.patch
          47 kB
          Matteo Bertozzi
        3. HBASE-13823-v1.patch
          55 kB
          Matteo Bertozzi
        4. HBASE-13823-v2.patch
          54 kB
          Matteo Bertozzi
        5. HBASE-13823-v3.patch
          63 kB
          Matteo Bertozzi
        6. HBASE-13823-v4.patch
          63 kB
          Matteo Bertozzi

        Activity

          People

            syuanjiang Stephen Yuan Jiang
            syuanjiang Stephen Yuan Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: