﻿# Investigate etcd WAL persistence before blaming quorum networking

A slow quorum can be storage-bound even when peers are reachable; correlate WAL persistence, proposals and network observations before changing timeouts.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/etcd-quorum-disk-latency/
Language: en

## A reachable peer can still be slow to acknowledge work

A job coordinator reports delayed control updates even though every peer responds to connection checks. Replication requires more than packet delivery: the consensus path also depends on persistence and application work. The [etcd performance guide](https://etcd.io/docs/v3.6/op-guide/performance/) identifies disk and network latency as separate constraints. A successful socket connection therefore cannot rule out a storage bottleneck. Preserve which operation is slow, which member handled it and whether the symptom concerns ordinary writes, reads or a larger transaction before changing the cluster's timing configuration.

## Distinguish WAL persistence from backend work

The [metrics reference](https://etcd.io/docs/v3.6/metrics/) documents `wal_fsync_duration_seconds` and `backend_commit_duration_seconds` as different latency distributions. WAL persistence and backend commits describe different storage activities; combine their observations with the request path instead of naming both disk latency. High persistence latency can delay progress even when peer round-trip time remains stable. Conversely, a coincident backend spike does not establish that every client delay originated there. Retain the member, time window and workload so those explanations can be compared.

## Observe the proposals waiting behind the symptom

Inspect pending proposals alongside committed and applied progress. A growing pending population differs from a growing gap between committed and applied work. The first can indicate difficulty committing; the second concerns how the member applies agreed work. Compare members rather than assuming the leader's current value describes all replicas. Metric resets after process restart also matter. Reconcile process lifetime and collection gaps before interpreting a sudden drop as recovery or subtracting observations from incompatible intervals.

## Check the actual storage competition

Map the WAL and backend paths to their real devices and competing workload. A data-directory pathname does not establish dedicated I/O capacity. Retain relevant device latency, queueing, host pressure and maintenance activity alongside etcd measurements. [Peer and client address mapping](/journal/guide-dc-etcd-advertised-url-boundary/) remains useful for checking the network layer, but should not substitute for this storage investigation. Avoid destructive device tests on active consensus members; an appropriately isolated equivalent can examine the suspected resource competition without manufacturing a live outage.

## Define acceptance for a diagnostic change

Keep a representative control workload and compare request latency, proposal progress and the suspected storage observation across the same interval. If a resource change is evaluated, preserve configuration and unrelated changes so correlation is not presented as proof of causation. Acceptance means the intended control operations complete correctly and the suspected bottleneck's evidence changes consistently. A lower fsync histogram alone is insufficient if client timeouts or application lag remain. No benchmark result or universal timeout value follows from the historical examples in the documentation.

## Preserve the recovery and consistency boundaries

Do not conceal slow persistence by weakening required durability or assuming a longer timeout repairs the underlying device. [Revision handling after restore](/journal/guide-dc-etcd-restore-watch-revisions/) covers a different recovery problem if state must later be restored. The operational report should name the slow phase, member and observation window, retain competing explanations and state what remains unmeasured. That evidence distinguishes network reachability, durable consensus and usable control-plane progress without equating any single metric with a healthy distributed computation.
