Skip to content
Latchkey

What Is a Dirty Read?

A dirty read occurs when one transaction reads a row that another transaction has modified but not yet committed. If the writing transaction later rolls back, the reader has acted on data that never officially existed. Isolation levels above read uncommitted prevent dirty reads.

Why it matters

Acting on uncommitted data can produce decisions based on changes that get undone. Understanding dirty reads guides which isolation level a workload actually requires.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →