﻿# Serialize etcd membership changes around the effective voting set

Membership acceptance, member startup and learner promotion are separate transitions; verify each before continuing a multi-host maintenance plan.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/etcd-membership-reconfiguration-sequence/
Language: en

## A maintenance batch contains intermediate clusters

An operator plans to replace several control-plane hosts and views the work as one maintenance action. The cluster instead passes through intermediate membership states, each with its own functioning voters and remaining failure exposure. The [runtime guide](https://etcd.io/docs/v3.6/op-guide/runtime-configuration/) requires a working majority and sequential reconfiguration. A final topology that would be resilient does not prove that every route to it is safe. Record the starting membership, member identities and actual roles before treating the host inventory as the configuration that consensus currently uses.

## Separate acceptance from process startup

The [reconfiguration design](https://etcd.io/docs/v3.6/op-guide/runtime-reconf-design/) describes first informing the existing cluster and then starting the new member with the accepted configuration. Creating a process or editing its local settings does not replace the consensus change. Conversely, a successful membership request does not prove that the process has started, reached peers or caught up. Preserve the returned member identity and the expected peer addresses. Reusing an old data directory or starting against another membership description can produce a different failure from ordinary temporary replication delay.

## Recalculate the next transition from observed state

After each change, inspect the membership and relevant member status before continuing. Use the effective voting set, not a planned diagram or the number of hosts with installed binaries. A learner remains non-voting until promotion is accepted under the applicable version's rules. [Learner and voter accounting](/journal/guide-dc-etcd-learner-vote-boundary/) explains that distinction. The maintenance sequence must also retain a reachable quorum for its next operation. An extra process that has not joined or a learner that has not caught up cannot be assumed to cover a further concurrent failure.

## Keep address changes in their own contract

Changing peer addresses is a cluster configuration concern; changing a client advertisement has a different operational path. [Client and peer address handling](/journal/guide-dc-etcd-advertised-url-boundary/) helps prevent a local configuration edit from being mistaken for a completed membership transition. Preserve transport identity and connectivity from the actual participants. A management workstation reaching the replacement host does not establish that the remaining voters can use its advertised peer path. Do not compensate for that uncertainty by issuing further membership changes that make the original failure harder to unwind.

## Validate the intermediate states in an isolated exercise

Rehearse the intended sequence on a representative nonproduction cluster, including a replacement that does not start and a learner that is not ready for promotion. Record the accepted configuration after each operation and show that the procedure stops before the next unsafe transition. Acceptance is not merely reaching the final member count. It includes retaining usable control operations, explaining the rejected or incomplete step and preserving an actionable route from the observed state. No failure-tolerance claim follows from a list of successful shell commands alone.

## Record the stopping and recovery boundary

If quorum is unavailable, ordinary incremental reconfiguration is not a substitute for the documented disaster-recovery procedure. Keep the current membership evidence and distinguish it from the intended maintenance destination. Version-specific learner limits and safety checks must follow the deployed release rather than an older example copied into a runbook. The completed maintenance record identifies each accepted transition, startup result, promotion state and remaining unavailable member. This makes the handoff reproducible and prevents a partially executed batch from being reported as a fully established resilient topology.
