version-vector · also VV

Version vector

A version vector maps actors to counters that summarize contiguous prefixes of update histories for a replicated object.

Related Observatory article: Read on hesela.com

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

related
Dotted version vector, Causal consistency, Read repair

Citations

  1. Preguica et al. Dotted Version Vectors: Logical Clocks for Optimistic Replication (2010), sections 3-5. (accessed 2026-11-11)
  2. Russell Brown: Per-Key Actor Epochs In Riak (2015), identity reuse and concurrent epochs. (accessed 2026-11-28)
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.

JSON: /data/terms/version-vector.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Version vector. Hesela. 2026-11-28. https://hesela.dev/terms/version-vector/