# Vector Clocks

Record: `arch:vector-clocks`
Kind: mechanism
Layer: [Causality Core](https://banes-lab.com/records/layer/causality-core.md)
Severity: contextual
Scope: distributed events, replication
Canonical: https://banes-lab.com/ontology#arch-vector-clocks

## Repair

- Refactored by: Add Version Vector
- Detected by: lost causality in distributed updates
- Violated by: unresolved concurrent writes
- Measured by: conflict detection accuracy
- Enforced by: replication protocol tests

## requires

- [Node Identity](https://banes-lab.com/records/lex/node-identity.md)
- [Version Vector](https://banes-lab.com/records/lex/version-vector.md)

## reinforces

- [Causal Consistency](https://banes-lab.com/records/arch/causal-consistency.md)

## enables

- [Concurrent Update Detection](https://banes-lab.com/records/lex/concurrent-update-detection.md)

## conflicts-with

- [Single Global Clock Assumption](https://banes-lab.com/records/lex/single-global-clock-assumption.md)

## tensions-with

- [Metadata Size](https://banes-lab.com/records/lex/metadata-size.md)

## tensions

- [Vector Clocks Metadata Size](https://banes-lab.com/records/tension/metadata-size-vector-clocks.md)
