~/bend-docscommunity

src/DurableCommit.bend checks

raw source on the hub · import mylsm-lsm-store@0.5.0.0/src/DurableCommit.bend as DurableCommit

3 imports
import Base
import ./Db.bend as Db
import ./Wal.bend as Wal

Types

type Stage source · line 6 · raw

Data

Identifies the durability boundary reached by a commit.

Definitions

def apply source · line 13 · raw

@pair:Pair(Stage, List<&2, 0x4fcd94fa965aa1443134557fd075a483/src/Wal.Mut>) -> @+db:0x4fcd94fa965aa1443134557fd075a483/src/Db.Db -> Pair(0x4fcd94fa965aa1443134557fd075a483/src/Db.Db, Stage)

Applies mutations only after the WAL commit stage is durable.