Update to latest nixUnstable
[?]
Sep 14, 2017, 3:22 PM
LSUX6IQR7TBTTCDQAVD3KDAVARLM7SUD7PPVTR5IOKA3BNZDYA7ACDependencies
- [2]
BYVRA54QTemporarily disable machines on any exception, not just connection failures - [3]
JPHDKOMJhydra-queue-runner: Keep some notification statistics - [4]
IE2PRAQUhydra-queue-runner: Send build notifications - [5]
IKJBYIGYUpdate to reflect BinaryCacheStore changes - [6]
N4IROACVMove buildRemote() into State - [7]
FJCKDJKBAcquire the send lock only while actually sending - [8]
BRAESISHWarn if PostgreSQL appears stalled - [9]
SL3WSRAChydra-queue-runner: Limit memory usage - [10]
V6H6BWMKSync with Nix - [11]
N2NKSKHSRefactor local binary cache code into a subclass - [12]
B2L4T3X6Sync with Nix - [13]
4YCF3KBGConcurrent hydra-evaluator - [14]
UYDRSHYRDon't wait forever to acquire the send lock - [15]
YZAI5GQUImplement a database connection pool - [16]
HJOEIMLRRefactor - [17]
BG6PEOB2Make the output size limit configurable - [18]
73YR46NJhydra-queue-runner: Write directly to a binary cache - [19]
MB3TISH2Rate-limit the number of threads copying closures at the same time - [20]
5AIYUMTBBasic remote building - [21]
3YSJ3LYKRemove finally.hh - [22]
EYR3EW6JKeep stats for the Hydra auto scaler - [23]
GH4S4AWMRename file - [24]
DIEY5USNKeep better bytesReceived/bytesSent stats - [25]
A4A5KO5QAdd error/warnings for deprecated store specification - [26]
A2GL5FOZMoar stats - [27]
24BMQDZAStart of single-process hydra-queue-runner - [28]
7LB6QBXYKeep track of the number of build steps that are being built - [29]
GTUZLZRHAdd an S3-backed binary cache store - [30]
FITVNQ2SKeep track of the time we spend copying to/from build machines - [31]
XLYHZUHTCache .narinfo lookups - [32]
NAYQT2GThydra-queue-runner: Use cmdBuildDerivation - [33]
MS676RZWRemove s3binarystore (moved to nix in d155d80) - [34]
ENXUSMSVMake concurrency more robust - [35]
MHVIT4JYSplit hydra-queue-runner.cc more
Change contents
- file deletion: counter.hh
#pragma once#include <atomic>typedef std::atomic<unsigned long> counter;struct MaintainCount{counter & c;MaintainCount(counter & c) : c(c) { c++; }~MaintainCount() { auto prev = c--; assert(prev); }};MaintainCount(counter & c, std::function<void(unsigned long)> warn) : c(c){warn(++c);}#include <functional> - replacement in src/hydra-queue-runner/build-remote.cc at line 234
auto mc1 = std::make_shared<MaintainCount>(nrStepsWaiting);auto mc1 = std::make_shared<MaintainCount<counter>>(nrStepsWaiting); - replacement in src/hydra-queue-runner/build-remote.cc at line 236
MaintainCount mc2(nrStepsCopyingTo);MaintainCount<counter> mc2(nrStepsCopyingTo); - replacement in src/hydra-queue-runner/build-remote.cc at line 279
MaintainCount mc(nrStepsBuilding);MaintainCount<counter> mc(nrStepsBuilding); - replacement in src/hydra-queue-runner/build-remote.cc at line 374
MaintainCount mc(nrStepsCopyingFrom);MaintainCount<counter> mc(nrStepsCopyingFrom); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 108
MaintainCount State::startDbUpdate()nix::MaintainCount<counter> State::startDbUpdate() - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 110
return MaintainCount(nrActiveDbUpdates, [](unsigned long c) {if (c > 6) {printMsg(lvlError, format("warning: %d concurrent database updates; PostgreSQL may be stalled") % c);}});if (nrActiveDbUpdates > 6)printError("warning: %d concurrent database updates; PostgreSQL may be stalled", nrActiveDbUpdates.load());return MaintainCount<counter>(nrActiveDbUpdates); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 486
MaintainCount mc(nrNotificationsInProgress);MaintainCount<counter> mc(nrNotificationsInProgress); - edit in src/hydra-queue-runner/state.hh at line 11
#include "counter.hh" - edit in src/hydra-queue-runner/state.hh at line 24
typedef std::atomic<unsigned long> counter; - edit in src/hydra-queue-runner/state.hh at line 26
- replacement in src/hydra-queue-runner/state.hh at line 443
MaintainCount startDbUpdate();nix::MaintainCount<counter> startDbUpdate();