Function choose_worker

Source
fn choose_worker(
    table_id: &TableId,
    frontend_env: &FrontendEnv,
    request_id: u32,
) -> Result<WorkerNode, SchedulerError>