Skip to content

Separate child local completion before propagating replication confirmation counts #3341

Open

Description

@kriszyp

Draft #3187 retains the current production boundary: the context count belongs to the root and txnForContext does not copy it to later database links. If private counts are manually assigned to both parent and child, the parent currently waits on the child's complete commit promise, including remote confirmation. A failed parent confirmation can therefore remain pending behind a child remote waiter after their local commits landed.

Before enabling multi-link count propagation, separate the child's local completion from its remote confirmation and decide which confirmation failure is surfaced once all local work settles. Preserve prompt local failures and prevent confirmation failure from aborting a pending local commit. Add held-promise regressions for both parent/child failure orders on real stores.

Entry condition: any change copying the count in txnForContext or otherwise enabling confirmations on later production links must settle this ordering first. Current public producers do not assign those child counts; this is scoped future work confirmed by the framing recheck.

Review-Deferral: 9c03bc90cc60188b severity=major category=reliability

🤖 Generated by OpenAI Codex; posted via @kriszyp.

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

    Fields

    Priority

    P3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions