risingwave_storage::hummock::compactor

Function compact

source
pub async fn compact(
    context: CompactorContext,
    sstable_object_id_manager: SstableObjectIdManagerRef,
    payload: Vec<ImmutableMemtable>,
    compaction_catalog_manager_ref: CompactionCatalogManagerRef,
) -> HummockResult<UploadTaskOutput>
Expand description

Flush shared buffer to level0. Resulted SSTs are grouped by compaction group.