MongoDB

MongoDB WiredTiger 存储引擎深度工程实战:从文档级 MVCC、Journal WAL 到 Checkpoint 与 Rollback-to-Stable 的全链路解析

拆开 MongoDB WiredTiger 存储引擎的四层机制:文档级 MVCC 的 update structure 链表、时间戳事务与 majority commit point、journal WAL 与 oplog 的双重身份、fuzzy checkpoint 与 Rollback-to-Stable 崩溃恢复,以及 page cache eviction 触发 write stall 的根因诊断与生产调优清单,附 C 可见性判断源码、mongosh 诊断脚本与 Python 乐观并发重试实现。