async fn resolve_peers( partition_manager: &PartitionRuleManager, regions: &[RegionId], ) -> Result<HashMap<RegionId, PeerRef>>