~/talk

How we designed and model checked MongoDB reconfiguration protocol

Talkat TLA+ Conf 2024 · on Monday, 2024-04-15· [distributed-systems, databases]
links:none on file
slides:none on file

Describes designing a heartbeat‑based reconfig protocol that supports force reconfig while preserving safety; uses TLA+ model checking to iterate designs, reproducing a counterexample after a 150‑line change on day one and finding further bugs across days two–five. Adds quorum, op‑commit and config‑term/version rules, merges election and config consensus, produces a draft in a week and an implementation in three months by 3–4 developers, and ships as mongod db44 in 2019, running reliably in production.

AI-written summary · about

  1. 0:00Introduction to replication
  2. 1:47The reconfig challenge
  3. 3:46Model checking with TLA+
  4. 6:25Iterative design improvements
  5. 9:30Solving oplog dependencies
  6. 12:29Handling configuration splits
  7. 14:41The consensus breakthrough
  8. 16:46Results and production
  9. 19:25Takeaways and reflection
  10. 21:44Q&A session
~/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.