[
https://issues.apache.org/jira/browse/HBASE-19851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366648#comment-16366648
]
stack commented on HBASE-19851:
-------------------------------
Maybe I should file the above as MergeRegionProcedure is incomplete...
> 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
> Priority: Critical
> 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)