Keep track of how many threads are waiting
[?]
Jul 10, 2015, 5:10 PM
DWFTK56EAGNPSKWWWY5MFPATQWO5PZGHF5D53JOEJ2DG5NLLYRBQCDependencies
- [2]
ZTVVUMTKJSONObject doesn't handle 64-bit integers - [3]
N4IROACVMove buildRemote() into State - [4]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [5]
OCZ4LSGGAutomatically retry aborted builds - [6]
LE4VZIY5More stats - [7]
A2GL5FOZMoar stats - [8]
5AIYUMTBBasic remote building - [*]
24BMQDZAStart of single-process hydra-queue-runner - [*]
HJOEIMLRRefactor - [*]
DODOGD7MSend queue runner stats to statsd
Change contents
- replacement in src/hydra-queue-runner/build-remote.cc at line 182
printMsg(lvlDebug, format("sending closure of ‘%1%’ to ‘%2%’") % step->drvPath % machine->sshName);MaintainCount mc(nrStepsCopyingTo);auto mc1 = std::make_shared<MaintainCount>(nrStepsWaiting); - edit in src/hydra-queue-runner/build-remote.cc at line 184
mc1.reset();MaintainCount mc2(nrStepsCopyingTo);printMsg(lvlDebug, format("sending closure of ‘%1%’ to ‘%2%’") % step->drvPath % machine->sshName); - edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 1286
root.attr("nrStepsWaiting", nrStepsWaiting); - edit in src/hydra-queue-runner/state.hh at line 206
counter nrStepsWaiting{0}; - edit in src/script/hydra-send-stats at line 32[5.1045][12.1059]
gauge("hydra.queue.steps.waiting", $json->{nrStepsWaiting});