Re-exports§
pub use self::compaction_utils::check_compaction_result;
pub use self::compaction_utils::check_flush_result;
pub use self::compaction_utils::CompactionStatistics;
pub use self::compaction_utils::RemoteBuilderFactory;
pub use self::compaction_utils::TaskConfig;
Modules§
Structs§
CompactionExecutor
is a dedicated runtime for compaction’s CPU intensive jobs.- Implementation of Hummock compaction.
- A
CompactorContext
describes the context of a compactor. - Iterates over the KV-pairs of a given list of SSTs. The key-ranges of these SSTs are assumed to be consecutive and non-overlapping.
- Iterates over the KV-pairs of an SST while downloading it.
SstableStreamIterator
encapsulates operations onsstables
, constructing block streams and accessing the corresponding data viablock_metas
. Note that ablock_meta
does not necessarily correspond to the entire sstable, but rather to a subset, which is documented via theblock_idx
. - The progress of a compaction task.
Traits§
Functions§
- Flush shared buffer to level0. Resulted SSTs are grouped by compaction group.
- Merge multiple batches into a larger one
- The background compaction thread that receives compaction tasks from hummock compaction manager and runs compaction tasks.
- The background compaction thread that receives compaction tasks from hummock compaction manager and runs compaction tasks.