Branch: refs/heads/merge-tables
Home: https://github.com/NixOS/hydra
Commit: a07a2e66878bb9ce660d1509a23bf538ae011174
https://github.com/NixOS/hydra/commit/a07a2e66878bb9ce660d1509a23bf538ae011174
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-06 (Tue, 06 Mar 2012)
Changed paths:
M src/sql/upgrade-2.sql
Log Message:
-----------
Drop the merged tables after conversion
Commit: 5771fb33e0a614bd7dc72841ee896fd0f410cd0a
https://github.com/NixOS/hydra/commit/5771fb33e0a614bd7dc72841ee896fd0f410cd0a
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M src/script/hydra-update-gc-roots
M src/sql/hydra.sql
A src/sql/upgrade-3.sql
Log Message:
-----------
Speed up hydra-update-gc-roots
The hydra-update-gc-roots script is taking around 95 minutes on our
Hydra instance (though a lot of that is I/O wait). This patch
significantly reduces the number of database queries. In particular,
the N most recent successful builds for each job in a jobset are now
determined in a single query. Also, it removes the calls to
readlink().
Commit: 33ba3cf33005eb9ade0203f702321e8186b74070
https://github.com/NixOS/hydra/commit/33ba3cf33005eb9ade0203f702321e8186b74070
Author: Eelco Dolstra <[email protected]>
Date: 2012-03-07 (Wed, 07 Mar 2012)
Changed paths:
M src/script/hydra-update-gc-roots
Log Message:
-----------
Fix a race condition in hydra-update-gc-roots
Since it read the actual roots after determining the set of desired
roots, there was a possibility that it would delete roots added by
hydra-evaluator or hydra-build while hydra-update-gc-roots was
running. This could cause a derivation to be garbage-collected before
the build was performed, for instance. Now the actual roots are read
first, so any root added after that time is not deleted.
Compare: https://github.com/NixOS/hydra/compare/8781c35...33ba3cf
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits