tanyastickles commented on code in PR #8700:
URL: https://github.com/apache/hbase/pull/8700#discussion_r4097039807
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java:
##########
@@ -768,6 +768,16 @@ private void preTransitCheck(RegionStateNode regionNode,
RegionState.State[] exp
if (!regionNode.isInState(expectedStates)) {
throw new DoNotRetryRegionException(UNEXPECTED_STATE_REGION +
regionNode);
}
+ // if we don't write the state as SPLIT to the meta, we would need this
check.
Review Comment:
comments are for context and discussion. i'll clean this up once we decide
on an approach (persist `SPLIT` to state or just check the `isSplit` flag.)
--
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]