Repository navigation
docs: describe the startup readiness window of the health probes - #130
Merged
Merged
Conversation
After a restart a node's remote erasure drives that could not be connected during startup stay uninstalled until the next connectDisks pass, about 15 seconds later. During that window the liveness, readiness and both cluster probes answer 200, admin info shows every drive online and mcli ready agrees, because the cluster probes aggregate each peer's report of its own local drives rather than the drives this node has installed. A PUT through that node can still fail with 503 SlowDownWrite and a cross-node GET can answer 404 NoSuchKey until the window closes. The behaviour is inherited from upstream and reproduced on the 0806 and 0903 releases alike. Document the window and the bounded data-path check (PUT through each node, read each object through every node, fixed deadline, re-read acknowledged objects) that automation should use instead of the probes, and correct the readiness probe description, which also fails on request-queue overload and an unreachable KMS. No product change: the probes keep their documented purpose, and changing them or the reconnect cadence was judged unproven tuning in the agreed plan. Refs #116 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01L7qJqWwy8oFA6aCXWRzXQe Signed-off-by: Feng Ruohang <[email protected]>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution Licensing (no CLA, inbound=outbound, DCO required)
This project does not use a CLA; contributions are accepted inbound=outbound.
By submitting this pull request I represent that I have the right to contribute
the changes, which are licensed under this repository's
GNU Affero General Public License v3.0 or later
and remain my copyright. Every commit carries a DCO
Signed-off-bytrailer.Description
Documentation only.
docs/metrics/healthcheck/README.mdgains a "Startup readiness window" section and a corrected readiness-probe description. After a restart, a node's remote erasure drives that could not be connected during startup stay uninstalled until the nextconnectDiskspass (about 15 seconds); during that window the liveness, readiness and both cluster probes answer 200,admin infoshows every drive online andmcli readyagrees, because the cluster probes aggregate each peer's report of its own local drives rather than the drives the receiving node has installed, yet a PUT through that node can fail with 503SlowDownWriteand a cross-node GET can answer 404NoSuchKey. The section documents the window and the bounded data-path check that restart automation should use instead of the probes.Refs #116 (the issue stays open for the bounded Linux verification). Plan agreed with the Codex reviewer: #116 (comment). Adversarial Codex review of this change (D1): PASS on the documentation ("D1 now conforms"); the harness canary (H1, a review-lab script, not in this repo) is being hardened separately and its deadline-enforcement is escalated to the maintainer.
Motivation and Context
The behaviour is inherited from upstream and reproduces on the 0806 and 0903 releases alike; the agreed plan judged a product change (probe semantics or reconnect cadence) unproven tuning and chose documentation plus a harness gate. Measured with the review harness on a four-node loopback cluster: time to first usable I/O after a full restart 13.9 s, after single-node restarts 13.6 s, 14.8 s and 14.6 s for three of the four nodes (0.1 s for the other two), with every acknowledged object retained.
How to test this PR?
Docs only; render the Markdown. The claims are traced to
cmd/healthcheck-handler.go(ReadinessCheckHandler,ClusterCheckHandler),cmd/erasure-server-pool.go(Health,StorageInfo),cmd/notification.go(StorageInfoaggregation),cmd/erasure.go(local-endpoint filter),cmd/erasure-sets.go(connectDisks,monitorAndConnectEndpoints, 15 s interval) andcmd/erasure-object.go(write-quorum rejection).Compatibility impact
None; no product change.
Types of changes
Checklist:
git commit -s) per the DCOpgsty/silo.pgsty.com(companion PR on the site repository)🤖 Generated with Claude Code
https://claude.ai/code/session_01L7qJqWwy8oFA6aCXWRzXQe