Skip to content

docs: propose permanent cluster host retirement - #497

Closed
cre4ture wants to merge 1 commit into
mainfrom
docs/cluster-host-retirement
Closed

cre4ture wants to merge 1 commit into
mainfrom
docs/cluster-host-retirement

Conversation

@cre4ture

@cre4ture cre4ture commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Superseded by the implementation in #498, which includes and updates this design. The implementation also addresses the proposal review findings on reciprocal retirement recovery and removal of multiple offline unknown-version hosts.

Comment on lines +65 to +69
Do not require a majority or a response from the dead host. A surviving node in a
two-node cluster must be able to retire its failed peer. This deliberately allows
an administrator in a partition to make a permanent decision; reciprocal removals
in separate partitions remain permanent on reconciliation. There is no automatic
undo or majority election to resolve them.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reciprocal retirement across a partition can take the whole cluster down permanently, and the proposal defines no recovery path.

Combine three rules stated here: retirement needs no quorum and no response from the target; records merge by union and are permanent with "no automatic undo"; and a node that learns its own ID is retired "enters quarantine: stop placement, repairs, peer data service, presence registration, and certificate renewal" (line 182-185).

A–B partition, admin on A retires B, admin on B retires A. On heal both records merge, so both nodes see themselves retired and both quarantine. The cluster now has zero active members, data is intact but unreachable through every cluster path, and nothing in the document lets an operator get out of it — "retain local administrative recovery" is never defined as an un-retire or local-override operation, and is_active_member has no escape hatch.

Either define an explicit, audited local override (e.g. an admin action on a quarantined node that records a local refusal of its own retirement, with the consequences spelled out), or state that mutual retirement is an accepted unrecoverable outcome. Slice 5's "simultaneous removals" reads as several nodes retiring the same target; the reciprocal A-retires-B / B-retires-A case should be its own acceptance test since the outcome is irreversible.

Comment on lines +276 to +280
Add a peer capability such as `membership_retirement_v1`. Roll the reader and
enforcement support to all participating nodes before enabling creation. Refuse
creation while a known non-retired member has unknown or unsupported capability,
including an offline member; the dead target is exempt. After the first
retirement, prevent unsupported nodes from joining. Downgrading a node or

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The capability gate can block the exact situation the feature exists for.

"Refuse creation while a known non-retired member has unknown or unsupported capability, including an offline member; the dead target is exempt" exempts only the target. With two dead nodes (D and E) in a four-node cluster, retiring D is refused because E's capability is unknown or unsupported, and retiring E is refused because of D — neither can ever be retired, and the document offers no override. The same holds for any single member that died before membership_retirement_v1 shipped and never reported a capability (an "unknown" capability is indistinguishable from an unsupported one for a node that will never answer again).

Worth narrowing the gate, e.g. refuse only on members known to be unsupported, and treat long-offline/unknown-capability members as a warning on the confirmation screen plus a mandatory membership catch-up gate before they are readmitted (which the compatibility paragraph already requires). Otherwise specify an explicit admin override for unreachable members.

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