virajjasani commented on a change in pull request #3218:
URL: https://github.com/apache/hbase/pull/3218#discussion_r625158203
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
##########
@@ -1126,7 +1126,13 @@ private void updateRegionSplitTransition(final
ServerName serverName, final Tran
LOG.debug("Split request from " + serverName +
", parent=" + parent + " splitKey=" +
Bytes.toStringBinary(splitKey));
}
-
master.getMasterProcedureExecutor().submitProcedure(createSplitProcedure(parent,
splitKey));
+ if (regionStates.getRegionState(parent).isOpened() &&
Review comment:
If the request is delayed to the point where parent is not only just
successfully split but also removed after no refCount existing on it, then yes
you are right, this is possible. Good to cover null check also.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]