~/talk

TLA+ Modeling of MongoDB Transactions

Talkat TLA+ Community Event 2025 · on Sunday, 2025-05-04· [databases]
links:none on file
links:none on file
slides:none on file

Claims a first large TLA+ model of MongoDB multi‑shard transactions with a separate storage module and an automated pipeline that turns TLC traces into unit tests for WiredTiger. The repo reproduces a fractured read when using readConcern=majority, runs full snapshot isolation model checking in ~10 minutes, generates 87,000 tests in ~30 minutes and executes them in ~13 minutes, and measures protocol permissiveness: snapshot 81% / read committed 76% (rises to 79% without prepare conflicts).

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:27What are transactions
  3. 5:26MongoDB transaction history
  4. 7:34Replica set transactions
  5. 10:49Distributed transactions
  6. 15:28Challenges in verification
  7. 19:28TLA+ model overview
  8. 21:36Modular modeling approach
  9. 24:29Isolation checking
  10. 28:27Snapshot isolation violation
  11. 33:53Timestamp and prepare conflicts
  12. 36:05Model checking statistics
  13. 36:51Model-based verification
  14. 42:58Test case generation
  15. 46:54Permissiveness concept
  16. 50:08Future work and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.