Apache9 commented on code in PR #7375:
URL: https://github.com/apache/hbase/pull/7375#discussion_r2532506097
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java:
##########
@@ -331,6 +337,8 @@ public void start() throws IOException, KeeperException {
regionNode.setLastHost(lastHost);
regionNode.setRegionLocation(regionLocation);
regionNode.setOpenSeqNum(openSeqNum);
+
regionInTransitionTracker.handleRegionStateNodeOperation(regionNode);
Review Comment:
Is it safe to call this method here since it accesses TableStateManager?
When will TableStateManager be initialized?
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java:
##########
@@ -331,6 +337,8 @@ public void start() throws IOException, KeeperException {
regionNode.setLastHost(lastHost);
regionNode.setRegionLocation(regionLocation);
regionNode.setOpenSeqNum(openSeqNum);
+
regionInTransitionTracker.handleRegionStateNodeOperation(regionNode);
Review Comment:
And this is only for loading meta region state? Where is the code for
loading normal region state?
--
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]