risingwave_storage::hummock::compactor

Function start_compactor

source
pub fn start_compactor(
    compactor_context: CompactorContext,
    hummock_meta_client: Arc<dyn HummockMetaClient>,
    sstable_object_id_manager: Arc<SstableObjectIdManager>,
    compaction_catalog_manager_ref: CompactionCatalogManagerRef,
) -> (JoinHandle<()>, Sender<()>)
Expand description

The background compaction thread that receives compaction tasks from hummock compaction manager and runs compaction tasks.