Don't spam the journal with hydra-queue-runner status dumps
[?]
Mar 26, 2020, 2:30 PM
7LU6ECB5NKOJ7WK6PYU2ZA6DYAUV5H355JG5MPGZXJOJ3V7NL6KACDependencies
- [2]
TVND5KQ3Doh - [3]
INVXGPNKFix root creation when the root already exists but is owned by another user - [4]
NJJ7H64SVery basic multi-threaded queue runner - [5]
XV4AEKJChydra-queue-runner: Handle status queries on the main thread - [6]
FULDVXE2Periodically dump/log status - [7]
BG6PEOB2Make the output size limit configurable - [8]
OG3Z3QGCNamespace cleanup - [9]
7LWB2J2ZPeriodically clear orphaned build steps - [10]
GS4BE6TBAsynchronously compress build logs - [11]
3ECTCHKLMake queue runner internal status available under /queue-runner-status - [12]
EPWEMRI2Allow determinism checking for entire jobsets - [13]
NSBNNM77Add hydra.conf option "nar_buffer_size" to configure memoryTokens limit - [14]
PLOZBRTRAdd command ‘hydra-queue-runner --status’ to show current status - [15]
K5G5GZY7Guard against concurrent invocations of hydra-queue-runner - [16]
IGLIPGT6Make maxLogSize configurable - [17]
RQUAATWBAdd status dump facility - [18]
HJOEIMLRRefactor - [19]
RGCPOSHYhydra-queue-runner: Ensure regular status dumps - [*]
24BMQDZAStart of single-process hydra-queue-runner
Change contents
- replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 494
void State::dumpStatus(Connection & conn, bool log)void State::dumpStatus(Connection & conn) - edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 675
if (log && time(0) >= lastStatusLogged + statusLogInterval) {printMsg(lvlInfo, format("status: %1%") % out.str());lastStatusLogged = time(0);} - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 783
dumpStatus(*conn, false);dumpStatus(*conn); - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 846
conn->await_notification(statusLogInterval / 2 + 1, 0);dumpStatus(*conn, true);conn->await_notification();dumpStatus(*conn); - edit in src/hydra-queue-runner/state.hh at line 423
time_t lastStatusLogged = 0;const int statusLogInterval = 300; - replacement in src/hydra-queue-runner/state.hh at line 546
void dumpStatus(Connection & conn, bool log);void dumpStatus(Connection & conn);