Skip to main content

Module compactor

Module compactor 

Source

Structs§

CompactionRegion
CompactionRegion represents a region that needs to be compacted. It’s the subset of MitoRegion.
CompactionVersion
Region version for compaction that does not hold memtables.
DefaultCompactor
DefaultCompactor is the default implementation of Compactor.
DefaultSstMerger
The production SstMerger that reads, merges, and writes SST files.
MergeOutput
[MergeOutput] represents the output of merging SST files.
OpenCompactionRegionRequest
OpenCompactionRegionRequest represents the request to open a compaction region.

Traits§

Compactor
Compactor is the trait that defines the compaction logic.
SstMerger
Trait for merging a single compaction output into SST files.

Functions§

open_compaction_region
Open a compaction region from a compaction request. It’s simple version of RegionOpener::open().