Skip to content

docs: describe the startup readiness window of the health probes - #130

Merged
Vonng merged 1 commit into
mainfrom
docs/issue-116-startup-readiness
Sep 6, 2026
Merged

Vonng merged 1 commit into
mainfrom
docs/issue-116-startup-readiness

Conversation

@Vonng

@Vonng Vonng commented Sep 5, 2026

Copy link
Copy Markdown
Member

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-by trailer.

Description

Documentation only. docs/metrics/healthcheck/README.md gains 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 next connectDisks pass (about 15 seconds); 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 the receiving node has installed, yet a PUT through that node can fail with 503 SlowDownWrite and a cross-node GET can answer 404 NoSuchKey. 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 (StorageInfo aggregation), cmd/erasure.go (local-endpoint filter), cmd/erasure-sets.go (connectDisks, monitorAndConnectEndpoints, 15 s interval) and cmd/erasure-object.go (write-quorum rejection).

Compatibility impact

None; no product change.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • All commits are signed off (git commit -s) per the DCO
  • Fixes a regression (not a regression; inherited behaviour)
  • Unit tests added/updated (not applicable)
  • Internal documentation updated
  • Public documentation update opened in pgsty/silo.pgsty.com (companion PR on the site repository)

🤖 Generated with Claude Code

https://claude.ai/code/session_01L7qJqWwy8oFA6aCXWRzXQe

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]>
@Vonng
Vonng merged commit 5b99596 into main Sep 6, 2026
8 checks passed
@Vonng
Vonng deleted the docs/issue-116-startup-readiness branch September 6, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant