Toward full ACID distributed transaction support with Foreign Data Wrapper
summary
Adds concrete hooks to make FDW transactions atomic: new FDW prepare API, WAL logging of foreign-transaction state, and a background transaction resolver that runs commit prepared after the local commit so remote prepares and commits survive coordinator crashes. Two-phase commit handles atomicity in tested failure scenarios; patches are still in progress and not merged. Isolation still breaks across servers, so a second approach using Clock-SI (no central GTM, per-node timestamps with bounded waits) is proposed to provide a global snapshot.
AI-written summary · about
chapters (16)
- 0:00Introduction to talk
- 0:34What is Foreign Data Wrapper
- 3:01Transaction management challenges
- 5:14Atomic commit problem
- 8:49Two-phase commit proposal
- 10:15Two-phase commit process
- 12:44Transaction resolver role
- 14:12Failure handling in two-phase commit
- 15:59Atomic visibility problem
- 19:34Transaction isolation issues
- 24:17Non-repeatable read anomaly
- 25:41Consistent snapshot requirement
- 28:11Global snapshot approaches
- 28:53Clock-SI technique
- 32:09Recap and future work
- 33:30Q&A
