What is "etcd compaction" and why is it necessary?
Correct! Well done.
Incorrect.
The correct answer is B) etcd retains historical revisions of keys to support watch and multi-version concurrency control (MVCC); compaction removes old revisions beyond a retention point to prevent unbounded database growth, which could degrade performance or exhaust storage
Correct Answer
etcd retains historical revisions of keys to support watch and multi-version concurrency control (MVCC); compaction removes old revisions beyond a retention point to prevent unbounded database growth, which could degrade performance or exhaust storage
Because etcd is an MVCC store, every write creates a new revision; without periodic compaction, the keyspace history grows indefinitely, eventually causing "mvcc: database space exceeded" errors and requiring maintenance.