optimistic concurrency control
noun
- Letting writers proceed without locks, then rejecting a write if the data changed since it was read, usually via a version number. UPDATE ... WHERE id = 7 AND version = 3; zero rows updated means someone else got there first.
In plain words
- detect if someone else changed it first
- conflict when two people edit the same thing
- a version number on save
See also lost update optimistic UI race condition