Linora

0202. Dedupe returns the original verdict; refused batches set a retry floor

Status: Accepted (2026-11-27). Refines the dedupe part of 0019. Agreed with WP-D (sync client) and WP-C (HTTP op forwarding, 0303). Refined by 0204: the floor is held at the gateway, the floor batch travels alone (probe) and later batches wait until it is answered; retryAfterMs is server-driven and exponential.

Context

Clients resend unacked batches after a reconnect, with the original clientSeq. ADR 0019 says a duplicate returns the original ACK and the owner reads max(client_seq) from the journal on resume. Three cases remained open:

Decision

Alternatives

Consequences

Exactly one journal row per (page, clientId, clientSeq), tested with a SIGKILL during a pending commit. Clients must send pendingFromClientSeq when they resubscribe with unacked batches; without it a restart cannot detect resends of batches whose ACK was lost.