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

   …aster failover
   
   Split parents are permanently retired regions and must never be re-assigned. 
Two-part fix:
   
   1. RegionStateStore.splitRegion() now writes SPLIT into info:state for the 
parent so that after a master failover, loadMeta reconstructs the parent with 
state=SPLIT rather than falling back to OFFLINE (the null-state path), which 
would make it eligible for re-assignment via processOfflineRegions().
   
   2. AssignmentManager guards isSplit() in both preTransitCheck (normal assign 
path) and createAssignProcedure (HBCK2/override/force path). The guard in 
createAssignProcedure sits before the override branch so that even force=true 
cannot bypass it.
   
   Together these cover the live-state case (state=SPLIT) and the post-failover 
case where an older meta row carries no info:state column and regionInfo is 
reconstructed with state=CLOSED but isSplit()=true.


-- 
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