optimistic concurrency control

A way to prevent lost updates by reading a version, preparing a change, and making the write succeed only if that version is still current.

In more detail

Nothing is locked while the client works; conflicts are detected at write time instead. In HTTP the version is the ETag and the check is If-Match, with 412 Precondition Failed when someone else got there first.

Related terms

Taught in

References