risingwave_meta::controller::utils

Function get_fragment_mappings

source
pub async fn get_fragment_mappings<C>(
    db: &C,
    job_id: ObjectId,
) -> MetaResult<Vec<PbFragmentWorkerSlotMapping>>
where C: ConnectionTrait,
Expand description

get_fragment_mappings returns the fragment vnode mappings of the given job.