Skip to main content

Module compaction

Module compaction 

Source

Modulesยง

buckets ๐Ÿ”’
compactor
memory_manager
picker
reader ๐Ÿ”’
run
This file contains code to find sorted runs in a set if ranged items and along with the best way to merge these items to satisfy the desired run count.
scheduler ๐Ÿ”’
task ๐Ÿ”’
twcs ๐Ÿ”’
window ๐Ÿ”’

Structsยง

CompactionOutput
CompactionRequest
Region compaction request.
SerializedCompactionOutput
SerializedCompactionOutput is a serialized version of CompactionOutput by replacing FileHandle with FileMeta.

Functionsยง

find_dynamic_options ๐Ÿ”’
Finds compaction options and TTL together with a single metadata fetch to reduce RTT.