gc-not-thread-safe

Status: IN

`garbage_collect()` mutates `_versions` (replacing lists and deleting keys) without synchronization, assuming single-threaded execution — concurrent reads or writes during GC would race on the dict and its lists.

Source: entries/2026/05/29/snapshot-isolation-mvcc_database-garbage_collect.md

JSON