guix/src
Eelco Dolstra 04170d06bf nix-copy-closure: Fix race condition
There is a long-standing race condition when copying a closure to a
remote machine, particularly affecting build-remote.pl: the client
first asks the remote machine which paths it already has, then copies
over the missing paths. If the garbage collector kicks in on the
remote machine between the first and second step, the already-present
paths may be deleted. The missing paths may then refer to deleted
paths, causing nix-copy-closure to fail. The client now performs both
steps using a single remote Nix call (using ‘nix-store --serve’),
locking all paths in the closure while querying.

I changed the --serve protocol a bit (getting rid of QueryCommand), so
this breaks the SSH substituter from older versions. But it was marked
experimental anyway.

Fixes #141.
2014-07-10 11:58:59 +02:00
..
boost
bsdiff-4.3
download-via-ssh nix-copy-closure: Fix race condition 2014-07-10 11:58:59 +02:00
libexpr Fix compilation error on some versions of GCC 2014-07-09 12:14:40 +02:00
libmain Ugly hack to allow --argstr values starting with a dash 2014-05-23 14:43:58 +02:00
libstore allow-arbitrary-code-during-evaluation -> allow-unsafe-native-code-during-evaluation 2014-06-27 11:20:16 +02:00
libutil Fix compilation error on some versions of GCC 2014-07-09 12:14:40 +02:00
nix-daemon Report daemon OOM better 2014-06-10 13:45:50 +02:00
nix-env nix-env -qa --json: Generate valid JSON even if there are invalid meta attrs 2014-06-02 17:58:43 +02:00
nix-hash
nix-instantiate Style fix 2014-06-27 11:36:23 +02:00
nix-log2xml
nix-store nix-copy-closure: Fix race condition 2014-07-10 11:58:59 +02:00