[
https://issues.apache.org/jira/browse/HDDS-17115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng updated HDDS-17115:
------------------------------
Attachment: HDDS-17115.001.diff
> Add readiness gate for service servlets and shared startup progress page
> ------------------------------------------------------------------------
>
> Key: HDDS-17115
> URL: https://issues.apache.org/jira/browse/HDDS-17115
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: server-framework
> Reporter: Siyao Meng
> Priority: Major
> Attachments: HDDS-17115.001.diff
>
>
> * Add {{BaseHttpServer#addServiceServlet}} and {{setServiceReady()}}. A
> filter mapped to those servlets returns 503 with Retry-After until the
> service is ready, so the servlets are not initialized against partially
> constructed service state.
> * Add {{StartupProgress.Step#setDone}} and a per-step baseline for the
> remaining time estimate, for progress read from existing counters (applied
> Raft index, safe mode rule counts).
> * Move the datanode Startup Progress page (HDDS-17107) into the shared web
> assets so OM and SCM can reuse it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]