VersionVector
A per-author high-water version vector: replicaId → highest contiguous seq.
Distinct from DotContext: a VersionVector is the dense prefix only — no cloud, no gap-holding. It models the causal-stability quantities of ADR-003 addendum v3 (#262):
the compactor's own contiguous delivered VV,
the stable cut
S = min over live peers,the frontier
F = max(F_live, retainedFrontier).
Absent authors read as 0 (get); the vector is sparse — only positive high-waters are stored.
Properties
the backing map; never holds a 0 or negative value. Encoded through CanonicalMapSerializer because its iteration order is not a function of the vector's value, and equals is order-insensitive, so two peers at the same logical vector would otherwise emit different bytes (#2010). There are two independent producers, and they fail for unrelated reasons:
Functions
Elementwise max with other — the frontier/merge operation (F = max over peers).
True if every author's high-water in other is at or below this vector's.
Elementwise min with other — the stable-cut operation (S = min over peers).