Comment 6 for bug 499095

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 499095] Re: Builder stuck on reset build

On Wednesday 23 December 2009 14:55:36 Michael Nelson wrote:
> 3. Because job.date_started is null, this job is never returned as part
> of BuildQueueSet.getActiveBuildJobs(), which is used by the build master
> to scan and update the current jobs.
>

Urgh!

It should probably look at BuildQueue instead and look for rows with a non-
null builder. This isolates the decision making to looking at a single table
rather than spreading this wacky set of exclusive fields everywhere.