hydra/src/script
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
..
hydra-create-user Remove Persona support 2016-10-20 14:14:04 +02:00
hydra-eval-guile-jobs.in Remove hydra-build and the old hydra-queue-runner 2015-06-22 15:43:15 +02:00
hydra-eval-jobset Fix a race that can cause hydra-queue-runner to ignore newly added builds 2017-07-21 14:34:48 +02:00
hydra-init Use /usr/bin/env to find perl 2015-08-17 14:18:20 +02:00
hydra-notify Add buildQueued plugin hook 2017-05-24 09:45:31 -04:00
hydra-s3-backup-collect-garbage Use /usr/bin/env to find perl 2015-08-17 14:18:20 +02:00
hydra-send-stats Fix hydra.queue.machines.total stat 2015-09-22 12:59:19 +02:00
hydra-server Use /usr/bin/env to find perl 2015-08-17 14:18:20 +02:00
hydra-update-gc-roots hydra-update-gc-roots: Only keep outputs when in direct mode 2016-07-12 19:23:10 +02:00
Makefile.am Concurrent hydra-evaluator 2016-10-14 14:22:12 +02:00
nix-prefetch-bzr Use mktemp for tempdir creation in prefetchers. 2014-08-29 12:40:11 +02:00
nix-prefetch-git nix-prefetch-git: Only remove .git, not e.g. .gitkeep (#454) 2017-04-12 21:08:04 +02:00
nix-prefetch-hg Use mktemp for tempdir creation in prefetchers. 2014-08-29 12:40:11 +02:00