Module compact

Source

Structsยง

CompactConfig
A snapshot of dynamic configs to make it easier to reason about an individual run of compaction.
CompactReq
A request for compaction.
CompactRes
A response from compaction.
Compactor
A service for performing physical and logical compaction.
Timings ๐Ÿ”’

Constantsยง

COMPACTION_CHECK_PROCESS_FLAG ๐Ÿ”’
COMPACTION_MINIMUM_TIMEOUT ๐Ÿ”’
In Compactor::compact_and_apply_background, the minimum amount of time to allow a compaction request to run before timing it out. A request may be given a timeout greater than this value depending on the inputsโ€™ size

Functionsยง

input_id_range ๐Ÿ”’
Create a [CompactionInput::IdRange] from a set of SpineIds.