def owner.snapshot.open.release
mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:424
import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base
424def owner.snapshot.open.release(
425 allocator: ResourceIdAllocator,
426 snapshots: List<&2, SnapshotResource>,
427 cursors: List<&2, CursorResource>,
428 decision: RegistryReleaseDecision
429) -> OwnerOpenDecision:
430 match decision:
431 case Released{reservations}:
432 OwnerSnapshotRejected{OwnerRegistry{allocator, reservations, snapshots,
433 cursors}}
434 case InvalidRelease{reservations}:
435 OwnerSnapshotRejected{OwnerRegistry{allocator, reservations, snapshots,
436 cursors}}