tanyastickles commented on code in PR #8700:
URL: https://github.com/apache/hbase/pull/8700#discussion_r4274476424
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java:
##########
@@ -786,6 +787,10 @@ private TransitRegionStateProcedure
createAssignProcedure(RegionInfo regionInfo,
RegionStateNode regionNode =
regionStates.getOrCreateRegionStateNode(regionInfo);
regionNode.lock();
try {
+ if (regionNode.isSplit()) {
Review Comment:
yep! the only way to end up in this path is when we're using HBCK2.
it looks like the only other place where we call `createAssignProcedure`
with `override=true` and `force=true` is when we truncate a region
(`TruncateRegionProcedure.createAssignProcedure`), but that's not a code path
that's relevant for a split parent.
--
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]