Skip to main content

Lost Update

Learn Lost Update (Transaction Isolation Levels, MySQL) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Introduction A lost update happens when two transactions read the same value, each computes a new value in the application, and both write: the second write overwrites the first, so one update vanishes. It is a read-modify-write race, not covered by the classic three anomalies.

More lessons in Transaction Isolation Levels