hydra/src
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
..
c Fix build for new nixUnstable 2014-06-16 12:24:17 -04:00
lib Add value and dependency fields to eval json output. 2014-05-08 17:08:31 +02:00
root Remove support for views 2014-04-23 23:22:44 +02:00
script Fix race between hydra-eval-jobs and hydra-update-gc-roots 2014-07-14 13:18:07 +02:00
sql Remove support for views 2014-04-23 23:22:44 +02:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
xsl Hack to render empty lines in logs correctly 2013-04-02 23:40:19 +02:00
Makefile.am Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.PL * Move everything up one directory. 2009-03-05 13:41:57 +00:00