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

   JIRA: [HBASE-30043](https://issues.apache.org/jira/browse/HBASE-30043)
   
   During truncate recovery, the procedure can release the region lock between 
states. If that region gets merged away in that gap, the truncate procedure 
could still try to unassign/reassign or touch filesystem state for a region 
that no longer exists. 
   
   The proposed fix adds an existence check before MAKE_OFFLINE, centralizes 
region-node lookup in a helper that throws UnknownRegionException when the 
region is gone, and makes rollback only reassign if the region still exists and 
is in an offline/closed state.
   
   The tests verify two things: truncate fails cleanly instead of recreating 
state or scheduling child procedures, and rollback also does not recreate the 
removed region or queue assigned work.


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