mito2::compaction::compactor

Function open_compaction_region

Source
pub async fn open_compaction_region(
    req: &OpenCompactionRegionRequest,
    mito_config: &MitoConfig,
    object_store_manager: ObjectStoreManagerRef,
    schema_metadata_manager: SchemaMetadataManagerRef,
) -> Result<CompactionRegion>
Expand description

Open a compaction region from a compaction request. It’s simple version of RegionOpener::open().