Skip to content

QUIC twins: after an agent restart the first fresh proxy stream re-subscribes nothing and prunes the dormant pairs; a later stream parks them dormant again — the ledger can hold dormant pairs the current proxy generation has no subscription for #1052

Closed

Description

@bpalermo

Found while fixing #1049 (PR #1051), from the rev248 agent logs on main-worker-03 after the 15:38Z agent roll:

Because of that ordering the ledger can carry dormant pairs for which the current proxy generation holds no on-demand subscription. Harmless in this run (the pairs were revived on first use anyway, and #1051 now answers a named subscribe regardless of prior state), but it means "dormant" no longer implies "the proxy still holds the subscription", which is the premise of the republish-on-return path (#1038: "the proxy still holds their on-demand subscriptions, so the twin is pushed with no request").

Ask: key the dormant set by proxy generation (or clear it on a fresh stream that re-subscribes nothing and only re-park pairs re-subscribed by the stream that ends up being the live generation), and add a test with two overlapping streams in that order. Related: #1035, #1036, #1038, #1049, #1051.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions