smengcl opened a new pull request, #10999: URL: https://github.com/apache/ozone/pull/10999
https://issues.apache.org/jira/browse/HDDS-16132 A restarted follower SCM can remain in safe mode when the cluster is idle. The initial Ratis leader-change callback can run before the leader commit index becomes visible, so the deferred datanode protocol server does not start. With no later transactions, no callback retries the catch-up check. This adds a daemon periodic retry that reuses the existing `tryStartDNServerAndRefreshSafeMode()` guard. It self-cancels after startup and its executor is shut down with the state machine. Tests: - `mvn -pl hadoop-ozone/integration-test -am test -Dtest=TestSCMFollowerCatchupWithContainerReport -DskipShade -DskipRecon -DskipDocs` (3 tests passed) - `mvn -o -pl hadoop-hdds/server-scm checkstyle:check` Generated-by: Codex (GPT-5.6) -- 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]
