Skip to content

Question: acks time out while a fenced subscription retries its claim on a stalled connection #40

Closed

Description

@vheathen

Question: when a node's session-mode connections stall while its main pool works and another node takes over, the fenced subscription retries its claim on the stalled connection, and while it sits in that claim, which can take up to 15 s, ack/2 calls into it can exit with :timeout after 5 s. With a 500 ms retry interval, the first sampled ack right after the fence returned :ok, and every sampled ack from 12 s to 132 s timed out (3 of 3); with the default 60 s interval the exposure is shorter, and I did not measure it. Progress stays correct; at f1c5d29 the same node stayed responsive but wrote stale positions. Is that the trade-off you want? Very low.

Part of the review of main at 1f9d1f8: #27 (comment)

Activity

  1. yordis commented on Oct 27, 2026

    @yordis
    Member

    Answered by #52: the trade-off is kept (progress stays correct) and documented. guides/Cluster.md now explains that ack/2 can exit with :timeout while a subscription retries its claim on a stalled lock connection, that the exposure repeats on every retry, that the position is unaffected, and that subscribers acking from a process that must not crash should catch that exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions