Skip to main content

Module diskless

Module diskless 

Source
Expand description

Pure local-trim decision for the diskless WAL flusher.

Structs§

DisklessRetentionPolicy
One diskless partition’s retention configuration and floor, read at now_ms.
DisklessTrimDecision
Whether and where to advance one diskless partition’s local log start.

Enums§

DisklessBatchStep
One decoded-batch step in a diskless cold-read run.

Functions§

diskless_batch_step
Classify one decoded batch without splitting it or overflowing coordinates.
diskless_logical_range
Select the covering logical range, or the first successor after a gap.
diskless_object_reclaimable
Permit object deletion only after the grace period and with no index reference in the projection protected by the caller’s cache lock.
diskless_retention_prefix
Select the oldest contiguous prefix of one diskless partition’s committed WAL index ranges that retention allows to expire.
diskless_span_extension
Extend an object byte span only across a contiguous whole indexed range.
diskless_trim_decision
Plan a local trim behind both the committed object-store frontier and the high watermark’s configured safety lag.