Siyao Meng created HDDS-17117:
---------------------------------

             Summary: Start OM HTTP server early and show OM startup progress
                 Key: HDDS-17117
                 URL: https://issues.apache.org/jira/browse/HDDS-17117
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Manager
            Reporter: Siyao Meng


Start the OM HTTP server right after Kerberos login in the OzoneManager 
constructor, instead of in start(). Initialize metrics before it, start it only 
once (including for inactive OMs in MiniOzoneHAClusterImpl), and stop it if the 
constructor fails. Gate /serviceList, /snapshotList, /dbCheckpoint and 
/v2/dbCheckpoint until OM is ready. Without the gate, /serviceList reports the 
OM as LEADER while the Ratis server is not yet created.

Track phases: Initializing, Waiting for SCM, Opening OM DB, Loading snapshot 
chain, Loading prefixes, Initializing snapshot manager, Starting Ratis, 
Starting services, Replaying Raft log.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to