Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In DuccWorkJob the isSchedulable() method indicates whether a job is a candidate for consideration by the scheduler. The method necessarily includes state Completing as a job may linger for a while with resources still allocated as it winds down. However, if a job dies before getting resources it still goes through state Completing but is in fact NOT a candidate for consideration by the scheduler. The isSchedulable() method should check for resources still allocated to the job, and if the state is Completing but no resources, return 'false', not 'trus'.