Two-phase Commit

Created on 2022-01-20T17:22:06-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

System for first requesting changes be staged on one or more storage depots and then flipping those changes to be live after the data is secured.

Requires write ahead, undo/redo logs, need to handle acknowledgements going stale (ex. network partitions or crashes.)

Stage transaction

Commit transaction

Abort transaction