Module picker

Source

Structs§

PickerOutput
PickerOutput is the output of a Picker. It contains the outputs of the compaction and the expired SST files.
SerializedPickerOutput
SerializedPickerOutput is a serialized version of PickerOutput by replacing CompactionOutput and FileHandle with SerializedCompactionOutput and FileMeta.

Traits§

CompactionTask 🔒
Picker
Picker picks input SST files for compaction. Different compaction strategy may implement different pickers.

Functions§

new_picker
Create a new picker based on the compaction request options and compaction options.