View | Details | Raw Unified | Return to ticket 2285
Collapse All | Expand All

(-)a/src/slurmctld/job_scheduler.c (-10 / +5 lines)
Lines 1407-1416 next_task: Link Here
1407
				}
1407
				}
1408
			}
1408
			}
1409
			if (found_resv) {
1409
			if (found_resv) {
1410
				if (job_ptr->state_reason == WAIT_NO_REASON) {
1410
				job_ptr->state_reason = WAIT_PRIORITY;
1411
					job_ptr->state_reason = WAIT_PRIORITY;
1411
				xfree(job_ptr->state_desc);
1412
					xfree(job_ptr->state_desc);
1413
				}
1414
				debug3("sched: JobId=%u. State=PENDING. "
1412
				debug3("sched: JobId=%u. State=PENDING. "
1415
				       "Reason=%s(Priority). Priority=%u, "
1413
				       "Reason=%s(Priority). Priority=%u, "
1416
				       "Resv=%s.",
1414
				       "Resv=%s.",
Lines 1421-1432 next_task: Link Here
1421
			}
1419
			}
1422
		} else if (_failed_partition(job_ptr->part_ptr, failed_parts,
1420
		} else if (_failed_partition(job_ptr->part_ptr, failed_parts,
1423
					     failed_part_cnt)) {
1421
					     failed_part_cnt)) {
1424
			if ((job_ptr->state_reason == WAIT_NODE_NOT_AVAIL) ||
1422
			job_ptr->state_reason = WAIT_PRIORITY;
1425
			    (job_ptr->state_reason == WAIT_NO_REASON)) {
1423
			xfree(job_ptr->state_desc);
1426
				job_ptr->state_reason = WAIT_PRIORITY;
1424
			last_job_update = now;
1427
				xfree(job_ptr->state_desc);
1428
				last_job_update = now;
1429
			}
1430
			debug("sched: JobId=%u. State=PENDING. "
1425
			debug("sched: JobId=%u. State=PENDING. "
1431
			       "Reason=%s(Priority), Priority=%u, "
1426
			       "Reason=%s(Priority), Priority=%u, "
1432
			       "Partition=%s.",
1427
			       "Partition=%s.",

Return to ticket 2285