# Dual Read and Write

> A technique for writing to both the old and the new store and comparing reads during a migration, until the new store is trusted.

Record: `lexicon:dual-read-and-write`
Kind: technique
Layer: [Correctness Core](https://banes-lab.com/records/layer/correctness-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-dual-read-and-write

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Expand-Contract Migration](https://banes-lab.com/records/lexicon/expand-contract-migration.md) and before [Rollback Plan](https://banes-lab.com/records/lexicon/rollback-plan.md).

## Category

- [Self-Healing / Recovery / Deployment Safety](https://banes-lab.com/records/lexicon-category/self-healing-recovery-deployment-safety.md)

## Refactors

- [Irreversible Migration](https://banes-lab.com/records/architecture/irreversible-migration.md)

## Linked from

- [Anti-patterns](https://banes-lab.com/ontology/principles/architecture-category-anti-patterns.md)
