Closed GoogleCodeExporter closed 9 years ago
There was no race condition.
The jobassignment_insert_trigger function was called before inserting the
jobassignment row. So at that point it would update the hoststatus
activeassignmentcount to 0 although it should be 1.
This was fixed by putting the update_host_assignment_count call into a
_after_insert
trigger.
Original comment by jmuenzner
on 15 Apr 2010 at 2:48
Original issue reported on code.google.com by
jmuenzner
on 8 Apr 2010 at 4:50