GLOSSARY · A WORD, UNPACKED
dirty read
a concurrency flaw where a transaction reads uncommitted changes written by another transaction that is later rolled back.
A little more detail
If Transaction A modifies a user's account balance without committing, and Transaction B reads that new balance, Transaction B has performed a dirty read. If Transaction A then rolls back due to an error, Transaction B acted on data that never officially existed. Read Committed isolation prevents dirty reads.
See it in practice
These lessons pair the idea with examples you can change and run.