fn build_transition(
stopping_fragment_ids: &HashSet<FragmentId>,
starting_fragment_ids: &HashSet<FragmentId>,
long_running_fragment_ids: &HashSet<FragmentId>,
fragment_infos: &HashMap<FragmentId, &InflightFragmentInfo>,
stream_actors: &HashMap<FragmentId, &[StreamActor]>,
downstreams: &FragmentDownstreamRelation,
partial_graph_id: PartialGraphId,
control_stream_manager: &ControlStreamManager,
) -> MetaResult<CompactionTransition>