You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A cold write hangs when a peer's acks cannot reach this node #131
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