Fix race in finishing builds that have been cancelled
[?]
Aug 7, 2015, 2:18 AM
X2LETBPI7VE2PT7SMFZH2X5I244IPBPIXMVLHN5TQIHAQPMQ2MQQCDependencies
- [2]
T5BIOVJEAdd support for tracking custom metrics - [*]
24BMQDZAStart of single-process hydra-queue-runner - [*]
HPJKBFZ4Handle concurrent finishing of the same build - [*]
5AIYUMTBBasic remote building - [*]
62MQPRXCPass null values to libpqxx properly
Change contents
- edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 213
if (txn.parameterized("select 1 from Builds where id = $1 and finished = 0")(build->id).exec().empty()) return; - edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 226[7.716][4.18276]
txn.parameterized("delete from BuildProducts where build = $1")(build->id).exec(); - edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 245
txn.parameterized("delete from BuildMetrics where build = $1")(build->id).exec();