nirdosh0110 opened a new pull request, #8583:
URL: https://github.com/apache/hbase/pull/8583

   ## Summary
   - The `MERGE_TABLE_REGIONS_CHECK_CLOSED_REGIONS` case in 
`MergeTableRegionsProcedure.rollbackState()` was a bare `break;`. When rollback 
fires at this step (e.g. `checkClosedRegions` fails), the parent regions stay 
CLOSED and produce an indefinite stuck RIT with no automatic recovery.
   - Fall through `CHECK_CLOSED_REGIONS` to `CLOSE_REGIONS` so the existing 
`rollbackCloseRegionsForMerge` helper reopens the parents via 
`AssignmentManagerUtil.reopenRegionsForRollback`.
   - Mirrors the analogous `SPLIT_TABLE_REGIONS_CHECK_CLOSED_REGIONS` handling 
in `SplitTableRegionProcedure.rollbackState()` (which calls 
`openParentRegion(env)`).
   
   JIRA: https://issues.apache.org/jira/browse/HBASE-30334
   
   ## Test plan
   - [ ] Existing rollback tests in `TestMergeTableRegionsProcedure` still pass.
   - [ ] Manual/soak: force `checkClosedRegions` to throw in a merge procedure 
and confirm parents get reopened on rollback (no stuck RIT).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to