Skip to content

Glossary: System Design Basics in C++

commit and rollback

Also written: commit, rollback

In a transaction, commit makes all the changes permanent, and rollback discards them. For example, a working copy of the stock either replaces the real stock (commit) or is thrown away (rollback).

Where the book teaches it

Related terms

ACID (Atomicity, Consistency, Isolation, Durability)