Skip to content

Commit

Permalink
fix: the problem that the pending tasks cannot be scheduled during th…
Browse files Browse the repository at this point in the history
…e backfill action

Signed-off-by: hansong <252671213@qq.com>
  • Loading branch information
hansongChina committed Feb 21, 2025
1 parent 444a1ab commit 2937453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/actions/backfill/backfill.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ func (backfill *Action) Execute(ssn *framework.Session) {
fe.SetNodeError(ni.Name, err)
}
job.NodesFitErrors[task.UID] = fe
break
continue
}

predicateNodes, fitErrors := ph.PredicateNodes(task, ssn.NodeList, predicateFunc, backfill.enablePredicateErrorCache)
if len(predicateNodes) == 0 {
job.NodesFitErrors[task.UID] = fitErrors
break
continue
}

node := predicateNodes[0]
Expand Down

0 comments on commit 2937453

Please # to comment.