Skip to content

A cold write hangs when a peer's acks cannot reach this node #131

Open

Description

@vyruss

A cold write on node X waits for an ack from every live peer. Peer P's ack reaches X through X's subscription from P, because coldfront.claim_acks is in the default_insert_only replication set. If that subscription is disabled, or does not include default_insert_only, the ack never arrives. P still looks alive to X, because the alive check only looks at the walsender that sends X's claims to P, and the wait has no timeout. The claim waits forever, and later cold writes to the same table queue behind it.

The documented setup includes all three sets in both directions, so this needs a misconfiguration, and nothing reports it.

X can detect it locally before it claims: refuse the claim and name the peer when X has no enabled subscription from that peer that includes default_insert_only. That turns the hang into an error message, next to the refusal for a peer with no published slot (#130).

Activity

  1. added
    bug
    on Oct 30, 2026
  2. self-assigned this
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions