FAILURE MAP
← Case archive

FA-75318 / CRDT convergence / Member archive

State vector diff: integer client ids never match the decoded vector keys · case 03

Every sync resends the whole store.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

The local store holds structs [client, clock, length] covering clocks clock..clock+length-1. The remote state vector maps client ids (decimal strings, as decoded from JSON) to the next clock it expects; absent clients expect 0. Send, sorted by client then clock, every struct part the remote lacks, slicing a partly known struct to start at the expected clock. Also return the local state vector.

Why this case matters

Delta sync in sequence CRDTs exchanges state vectors to ship only the structs the peer is missing.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
remote caught up gets nothing{"send": [[1, 0, 3], [1, 3, 2], [1, 5, 4], [2, 0, 4], [7, 0, 2], [7, 2, 1]], "state_vector": [["1", 9], ["2", 4], ["7", 3]]}{"send": [], "state_vector": [["1", 9], ["2", 4], ["7", 3]]}Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗