atomic operation

An operation that happens completely or not at all, with no other operation able to see or act in between.

In more detail

Check then create must be one atomic step, such as an insert guarded by a unique constraint, or two workers can both proceed. Databases provide atomicity through transactions, unique constraints and conditional writes.

Related terms

Taught in

References