Optimistic vs Pessimistic Locking: Stopping Lost Updates
Two support agents open the same customer record at the same time. Agent A changes the phone number and saves. A few seconds later, agent B, who still has the old version on screen, changes the address and saves. B's save writes the whole record, including the old phone number.