| 16 | } |
| 17 | |
| 18 | static bool ScheduleJobRequest(TJobRequest* src, TRemoteQueryProcessor* queryProc) { |
| 19 | TVector<bool> selectedComps; |
| 20 | if (!RescheduleJobRequest(&src->Descr, src->HostId2Computer, src->HostId2Computer, &selectedComps)) |
| 21 | return false; |
| 22 | |
| 23 | queryProc->GetExecPlan(&src->ExecPlan); |
| 24 | ProjectExecPlan(&src->ExecPlan, selectedComps); |
| 25 | |
| 26 | CheckSchedule(*src); |
| 27 | return true; |
| 28 | } |
| 29 | |
| 30 | bool RescheduleJobRequest(TJobRequest* src, const TVector<ui16>& parentExecPlan, int localCompId, int ignoreCompId) { |
| 31 | Y_ASSERT(!parentExecPlan.empty()); |
no test coverage detected