← Graph

Lost Update Problem

concept 2 connections

Race condition, also called mid-air collision, that occurs when two senders read the same state, make independent decisions, and both write back at roughly the same time — the later write silently clobbers the earlier. Addressed via optimistic locking with a version parameter on change requests.

category
pattern
Race condition motivating optimistic locking.
related_to
Lost Update Problem concept
Optimistic locking is the prescribed solution to the lost-update race.

Provenance

Read by
2 extractions