sumitagrawl commented on code in PR #9350:
URL: https://github.com/apache/ozone/pull/9350#discussion_r2568657540
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java:
##########
@@ -1532,10 +1532,8 @@ public void start() throws IOException {
}
getBlockProtocolServer().start();
- // If HA is enabled, start datanode protocol server once leader is ready.
- if (!scmStorageConfig.isSCMHAEnabled()) {
- getDatanodeProtocolServer().start();
- }
+ // start datanode protocol server
+ getDatanodeProtocolServer().start();
Review Comment:
This is just to receive HB from DN early to get registered. This does not
depend on leader.
Safe mode rule is exited only after notifyTermIndexUpdated() for the reason
to ensure the SCM db and memory is updated with pending raft log to have
consistent information to exit safemode rule.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]