Use this skill when implementing or modifying MVCC logic, including version metadata, visibility filtering, and cleanup.
Implementation guidance: 1) Locate the existing MVCC abstractions (e.g., version metadata types, visibility filters) before adding new logic. 2) Ensure reads filter out uncommitted or aborted versions and respect snapshot boundaries.
3) When inserting updates, create new version entries rather than in-place mutation. 4) For deletes, add tombstones and make them visible using the same MVCC rules. 5) Compaction/cleanup must only remove versions that are not visible to any active snapshot.
MVCC in KalamDB: versionierte Datensätze, Sichtbarkeitsregeln, Snapshot-Lesevorgänge, Komprimierung und Transaktionslebenszyklen. Schlüsselwörter: mvcc, Snapshot, Sichtbarkeit, Commit, Abbruch, Tombstone, Vakuum. Quelle: jamals86/kalamdb.