StructsΒ§
- Compaction
Context - Execution resources for compaction, without a region-wide SST snapshot.
- Compaction
Region - CompactionRegion represents a region that needs to be compacted. Itβs the subset of MitoRegion.
- Compaction
Region Opener - Opens manifest-backed compaction regions using executor-owned index resources.
- Compaction
Version - Region version for compaction that does not hold memtables.
- Default
Compactor - DefaultCompactor is the default implementation of Compactor.
- Default
SstMerger - The production
SstMergerthat reads, merges, and writes SST files. - Merge
Output [MergeOutput]represents the output of merging SST files.- Open
Compaction Region Request - OpenCompactionRegionRequest represents the request to open a compaction region.
- Output
Sequence πMetadata - File-level sequence metadata is independent of physical row encoding.
TraitsΒ§
- Compactor
- Compactor is the trait that defines the compaction logic.
- SstMerger
- Trait for merging a single compaction output into SST files.
FunctionsΒ§
- can_
reuse_ πoutput_ inputs - Whole-input summaries require a complete output without file rollover.
- compaction_
output_ πparallelism - Parallelism of encoding an output, which is also the parallelism of reading its inputs. Admission sizes the read-ahead with it, so every caller must use this function.
- invoke_
sst_ πhook - known_
max_ πinput_ sequence - Computes the maximum target-domain sequence bound of the output of merging
inputs. - output_
matches_ πpartition - Whole-file summaries are usable only when reading needs no partition filtering.
- output_
sequence_ πmetadata - Compaction does not admit new data, so it inherits the input sequence bounds without allocating a new admission marker. Retaining physical row sequences does not by itself restore exact-read capability for untrusted inputs.
- reusable_
index_ πinputs - sst_
info_ πfrom_ file_ meta - Builds an
SstInfofor the remote-compaction path by copying the scalar fields thatFileMetaalso carries. - validate_
region_ πcompaction_ output