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

ProcV2 framework's rollback() needs to maintain stack like execute()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.0.0-beta-1
    • None
    • proc-v2
    • None

    Description

      Refer to HBASE-19839 and detailed description there. Bug showed up as a flaky test TestMergeTableRegionsProcedure.testRollbackAndDoubleExecution(). In short, when rollback() is called after step 5 (MERGE_TABLE_REGIONS_CLOSE_REGIONS), rollback of the procedure tries to reassign two regions that are to be merged. It spawns 2 AssignProcedures and don't wait on them to finish. Rollback should have ability to have sub-procedures and separate proc stack.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              uagashe Umesh Agashe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: