hydra/src/script
Eelco Dolstra fb5f01097b Fix race between hydra-eval-jobs and hydra-update-gc-roots
If hydra-eval-jobs creates a new root, and hydra-update-gc-roots runs
before hydra-evaluator has had a chance to add the corresponding build
to the database, then hydra-update-gc-roots will remove the root. If
subsequently the Nix garbage collector kicks in, it may remove the
build's .drv file before the build is performed. Since evaluation of
the Nixpkgs and NixOS jobsets nowadays takes a lot of time (e.g. an
hour), the probability of this happening is fairly high.

The quick fix is not to delete roots that are less than a day old. So
long as evaluation doesn't take longer than a day, this should be fine
;-)

Fixes #166.
2014-07-14 13:18:07 +02:00
..
hydra-build Use delete instead of delete_all 2013-10-03 19:42:44 +02:00
hydra-create-user Add a command `hydra-create-user' for managing user accounts 2013-11-06 13:36:29 +01:00
hydra-eval-guile-jobs.in hydra-eval-guile-jobs: Add "This file is part of Hydra". 2014-04-08 18:22:21 +02:00
hydra-evaluator hydra-evaluator: When evaluating a single jobset, exit with a failure code if evaluation fails 2013-11-27 14:29:05 -05:00
hydra-init Materialize the number of finished builds 2013-08-12 20:19:10 +02:00
hydra-queue-runner Prevent a division by zero in hydra-queue-runner 2013-11-06 12:15:11 +01:00
hydra-s3-backup-collect-garbage Derivations with multiple outputs break the 'link name is store path' assumption 2013-09-22 21:26:59 -04:00
hydra-server Rename hydra_*.pl to hydra-* 2011-11-30 18:14:48 +01:00
hydra-update-gc-roots Fix race between hydra-eval-jobs and hydra-update-gc-roots 2014-07-14 13:18:07 +02:00
Makefile.am Add a command `hydra-create-user' for managing user accounts 2013-11-06 13:36:29 +01:00
nix-prefetch-bzr add nix-prefetch- scripts for now, were externals in svn 2011-10-28 22:12:51 -04:00
nix-prefetch-git I should sleep... grmbl 2012-04-26 09:37:48 +02:00
nix-prefetch-hg remove .hg-archival.txt in nix-prefetch-hg 2011-11-03 19:44:05 -04:00