cluster: a doctor that checks a node can reach the data layer #53

Merged
jcoffey-dev merged 1 commits from feat/cluster-doctor into main 2026-11-12 14:02:11 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 109f1bc780 cluster: a doctor that checks a node can reach the data layer
ci / test (pull_request) Successful in 40s
`inbuxa cluster doctor` probes the endpoints a clustered inbuxa server
depends on -- the PostgreSQL store, the NATS coordinator, etcd, Patroni
and the S3 blob store -- and reports which answer. It checks only the
endpoints named on the command line, each with that service's own probe
(a NATS greeting, etcd's /health, Patroni's /primary at 200 for the
leader), so it fits any deployment and touches nothing on the node.

It's the reachability preflight a node wants before it is pointed at a
cluster, and the groundwork for guided cluster membership.
2026-11-12 07:00:54 -07:00