type Db

mylsm-lsm-store@0.3.2.0 · src/Db.bend:38

import mylsm-lsm-store@0.3.2.0/src/Db.bend as Db
import Base
import mylsm-lsm-store@0.3.2.0/src/MemTable.bend as MemTable
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstable

38# manifest_token is the exact serialized Manifest observed by this handle. Flush
39# and compaction compare it before publication to reject stale-handle drift.
40type Db is Data:
41  Db{dir: String, mem: MemTable.MemTable, frozen: MemTable.MemTable, batch_cap: Nat, bcache: List<&2, BEntry>, levels: List<&2, List<&2, Sstable.Table>>, flushed: Nat, manifest_token: String, mem_count: Nat, frozen_count: Nat}

Uses (6)

Used by (30)