Quick Answer
MVCC (Multi-Version Concurrency Control) keeps old versions of values tagged with their revision number. This enables Watches to replay history from any past revision without locking current values. It also makes atomic compare-and-swap (CAS) operations safe รขโฌโ etcd compares the current revision before writing. Overwriting directly would lose the history needed for watches.
Answer
MVCC stores revisions enabling consistent reads, time-travel, and non-blocking watches.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.