wire-distinct-key-pin: the distinct-key production shape on the wire #71
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/wire-distinct-key-pin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The two wire pins ft6eyx's diagnosis named as the suite gap (the
two-client tests raced one key only), in a sibling of
two_client_test.go over the production server composition:
the deterministic interleave pin: client A opens and stages its
transaction, client B lands a FULL distinct-key commit round-trip
server-side, then A commits — the explicit open → competitor-commit
→ commit sequence, never a timing race; both write-sets read back
whole through both handles, no vanish, no rejection, and audit rows
for every fact either ok commit landed.
the production wave pin: five fresh items, five concurrent
distinct-key commits in the item-set-done-plus-evidence shape (item
write and receipt landing as one write-set from five independent
client handles), every commit answering ok, ALL FIVE read back done
with their own receipt (a subset assertion is worthless — the
production failure was 1/5 surviving), and an audit row for every
ok commit's facts — ok must mean committed-and-visible.
Teeth demonstrated: against the pre-fix engine (
2bee41b) the wavefails with the production signature — a subset surviving with ok to
every caller — and passes over the fixed engine. Same-fact
arbitration stays with the existing same-key tests; the engine-level
race shape is pinned by the conformance suite's both-land family
(fresh-commit-basis).
Co-Authored-By: Xavier's assistant assistant@gijoe88.com