Fix persistent hash mismatch errors when importing
[?]
Nov 10, 2020, 3:05 AM
GPUIIYUKOCYHVF5VWXSGSW2LT6WWTQY6XZPWLFKZJJFIKHWO4Q2QCDependencies
- [2]
N3G7LLGEGet data needed by getBuildOutput() from the incoming NAR in a streaming fashion - [3]
AOQVBDWPCopy paths in the right order - [4]
5JMO43B4buildRemote(): Copy paths to the destination store in O(1) memory - [*]
5AIYUMTBBasic remote building
Change contents
- edit in src/hydra-queue-runner/build-remote.cc at line 484
to << cmdDumpStorePath << localStore->printStorePath(path);to.flush(); - edit in src/hydra-queue-runner/build-remote.cc at line 490
/* Note: we should only send the command to dump the storepath to the remote if the NAR is actually going to get readby the destination store, which won't happen if this pathis already valid on the destination store. Since thislambda function only gets executed if someone tries to readfrom source2, we will send the command from here ratherthan outside the lambda. */to << cmdDumpStorePath << localStore->printStorePath(path);to.flush();