Repository navigation
Fix fresh cluster bootstrap deadlock and stale peer discovery - #13
Conversation
|
Added automatic recovery for complete loss of ephemeral etcd state in commit Recovery now requires repeated authenticated agreement from every expected node. With multiple PGDATA copies it proceeds only when all etcd directories are empty, every PostgreSQL system ID matches, and exactly one node retains the durable primary role while all others identify as replicas. PGDATA is never deleted by this path; non-authority nodes reset only local etcd and rejoin as learners. Ambiguous roles, multiple primaries, mismatched IDs, residual etcd state, or unreachable peers continue to block. Also documented persistent Flux storage for |
Summary
.etcd3_apibreadcrumb as fresh state while continuing to reject real or unknown etcd data/etc/cluster_envon every etcd join attempt, including retries that began with an empty peer listValidation
go test ./...git diff --check