Version vector
A version vector maps actors to counters that summarize contiguous prefixes of update histories for a replicated object.
Componentwise comparison can identify equal, superseded or concurrent versions when the represented histories satisfy the protocol's assumptions. Missing components count as zero. [1]
An actor can denote a client or a replica; this choice affects correctness and metadata growth. A server counter must not silently imply that a client observed every earlier update registered by that server. [1]
Actor lifetime: Counter reuse can make a new update appear old or equal to an unrelated event. A fresh actor identity prevents that collision but does not prove the new version observed the old one. Per-key actor epochs were used to address this boundary after local history loss. [2]
Relations
Citations
- Preguica et al. Dotted Version Vectors: Logical Clocks for Optimistic Replication (2010), sections 3-5.
- Russell Brown: Per-Key Actor Epochs In Riak (2015), identity reuse and concurrent epochs.
Sources & caveats
- Source synthesis, not an executed replication protocol. No product lifecycle is implied by the unknown status.
- The historical implementation account is distinct from the paper's abstract clock model; no current Riak release or recovery protocol was executed.