Eelco Dolstra dc5e0b120a
Fix a race that can cause hydra-queue-runner to ignore newly added builds
As @dtzWill discovered, with the concurrent hydra-evaluator, there can
be multiple active transactions adding builds to the database. As a
result, builds can become visible in a non-monotonically increasing
order, breaking the queue monitor's assumption that build IDs only go
up.

The fix is to have hydra-eval-jobset provide the lowest build ID it
just added in the builds_added notification, and have the queue
monitor check from there.

Fixes #496.
2017-07-21 14:34:48 +02:00
2017-05-24 10:00:38 -04:00
2015-05-28 17:38:17 +02:00
2011-01-14 10:52:47 +00:00
2017-03-03 12:33:22 +01:00
2010-03-29 14:16:46 +00:00
2010-09-30 14:29:15 +00:00
2017-05-04 15:25:22 +02:00
2016-03-22 13:10:37 +01:00

Hydra

Hydra is a continuous integration system based on the Nix package manager. For more information, see the manual.

For development see [hacking instructions] (http://nixos.org/hydra/manual/#chap-hacking).


Icons provided free by EmojiOne.

Description
No description provided
Readme 18 MiB
Languages
Perl 70.5%
C++ 15.5%
Nix 6%
PLpgSQL 3%
Shell 2.3%
Other 2.6%