You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Umesh Agashe (JIRA)" <ji...@apache.org> on 2018/01/23 21:29:00 UTC

[jira] [Created] (HBASE-19851) ProcV2 framework's rollback() needs to maintain stack like execute()

Umesh Agashe created HBASE-19851:
------------------------------------

             Summary: ProcV2 framework's rollback() needs to maintain stack like execute()
                 Key: HBASE-19851
                 URL: https://issues.apache.org/jira/browse/HBASE-19851
             Project: HBase
          Issue Type: Improvement
          Components: proc-v2
    Affects Versions: 2.0.0-beta-1
            Reporter: Umesh Agashe
             Fix For: 2.0.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)