mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-29 17:44:52 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
713 B
713 B
Compensating Transaction
A compensating transaction undoes the effects of a previous operation when a later step in a multi-step process fails, since distributed transactions cannot always be rolled back atomically like a single database transaction. Each step in the process has a corresponding compensating action defined in advance. This keeps the overall system consistent even when a workflow cannot complete as planned.
Visit the following resources to learn more: