pub async fn compact(
compactor_context: CompactorContext,
compact_task: CompactTask,
shutdown_rx: Receiver<()>,
object_id_getter: Box<dyn GetObjectId>,
compaction_catalog_manager_ref: CompactionCatalogManagerRef,
) -> ((CompactTask, HashMap<u32, TableStats>, HashMap<HummockSstableObjectId, u64>), Option<MemoryTracker>)
Expand description
Handles a compaction task and reports its status to hummock manager.
Always return Ok
and let hummock manager handle errors.