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.
On Wednesday 23 December 2009 14:55:36 Michael Nelson wrote: getActiveBuildJ obs(), which is used by the build master
> 3. Because job.date_started is null, this job is never returned as part
> of BuildQueueSet.
> 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.