def registry.release

mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:417

import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base

417# Releases one closed snapshot's reservation without changing active readers.
418def registry.release(registry: Registry, released_bytes: Nat) -> RegistryReleaseDecision:
419  match registry:
420    case Registry{snapshot_count, retained_bytes}:
421      registry.release.count(nat.duplicate(snapshot_count), retained_bytes,
422        released_bytes)

Uses (5)

Used by (3)