~/bend-docscommunity

src/scan/ScanMerge.bend checks

raw source on the hub · import mylsm-lsm-store@0.6.0.2/src/scan/ScanMerge.bend as ScanMerge

1 import
import Base

Types

type Decision source · line 4 · raw

Data

Describes which source heads advance and whether a visible record is emitted.

Definitions

def delta.without.base source · line 13 · raw

@live:Bool -> Decision

Emits a delta value or advances past a delta tombstone without a base head.

def base.without.delta source · line 19 · raw

Decision

Emits an SST head when no newer delta head is available.

def both.live source · line 23 · raw

@live:Bool -> @order:Cmp -> Decision

Applies ordering and tombstone precedence when both sources have a head.

def both source · line 37 · raw

@live:Bool -> @order:Cmp -> Decision

Exposes the two-head comparison transition for the top-level selector.

def choose source · line 41 · raw

@base_exists:Bool -> @delta_exists:Bool -> @delta_live:Bool -> @order:Cmp -> Decision

Selects the next merge transition for sorted SST and delta heads.