aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator
Commit message (Collapse)AuthorAge
* Add a space in coordinator-handle-failed-requestChristopher Baines2021-05-28
|
* Improve retrying for missing log filesChristopher Baines2021-05-28
|
* Have with-gc-protection return the thunk return values properlyChristopher Baines2021-05-28
|
* Use GC protection for normal requests to the coordinator as wellChristopher Baines2021-05-28
| | | | | Since the gc breaking gnutls problem can occur for these requests probably as well.
* Increase the buffer size for sending outputs and log filesChristopher Baines2021-05-28
| | | | I think this works better.
* Get rid of the request mutexChristopher Baines2021-05-28
| | | | | | | | | This was put in to try and prevent the crashes inside gnutls, but was ineffective since the actual trigger for the issues is garbage collection, rather than parallel requests. There might be some benefit from limiting request parallelism in the future, but that can be thought through then.
* Tune sending files over HTTPChristopher Baines2021-05-28
| | | | | | | | | Guile's garbage collector interferes with Guile+gnutls, which means that sending files while the garbage collector is active is difficult. These changes try to work around this by disabling the garbage collector just as the data is being written, then enabling it again. I think this helps to work around the issue.
* Fix datastore-find-derivation-for-outputChristopher Baines2021-05-27
|
* Fix datastore-list-unbuilt-derivation-outputsChristopher Baines2021-05-27
|
* Fix datastore-list-build-outputs for the new outputs tableChristopher Baines2021-05-27
|
* Reduce the threshold for compressing nars on the flyChristopher Baines2021-05-26
| | | | | Prefer upfront compression, as this might reduce GC activity while sending the data.
* Remove stale log filesChristopher Baines2021-05-26
|
* Don't ignore premature termination for chunked requestsChristopher Baines2021-05-26
| | | | | | This code was copied from Guile, but this seems like a deficiency. I can't imagine a case where you'd be processing chunked data, and just want to pretend you've got to the end, when you haven't.
* Delay storing derivations in the databaseChristopher Baines2021-05-21
| | | | | Until actually storing the build, since the build might not actually be submitted if there's a build for those outputs already.
* Return #f from datastore-find-derivation-outputs if none are foundChristopher Baines2021-05-21
| | | | As this is clearer than '().
* Allow datastore-find-derivation-system to return #fChristopher Baines2021-05-21
| | | | If the derivation doesn't exist.
* Drop the request mutex for most requestsChristopher Baines2021-05-21
| | | | Just use it when uploading files.
* Enable foreign key checkingChristopher Baines2021-05-21
| | | | I thought this would be on by default, but apparently not.
* Introduce a systems tableChristopher Baines2021-05-21
|
* Introduce an outputs tableChristopher Baines2021-05-21
|
* Simplify the work queue loopChristopher Baines2021-05-14
|
* Buffer the network socket used for streaming http requestsChristopher Baines2021-05-13
| | | | As this helps improve throughput.
* Use a bigger buffer when uploading logsChristopher Baines2021-05-13
| | | | As I think this might make it faster.
* Increase the basic build allocation strategy default planned buildsChristopher Baines2021-04-27
| | | | | Mostly so the coordinator for building patches plans more builds at once, since the allocator is very slow at the moment.
* Stop agent threads only when 2 or more are idleChristopher Baines2021-04-23
| | | | | | If the jobs are really quick, I think the one running thread keeps stopping and starting, and that stops the agent starting more threads. I think this change might help.
* Handle receiving outputs as a bytevectorChristopher Baines2021-04-23
| | | | This can happen if the request doesn't arrive in chunks.
* Remove non-existent exportChristopher Baines2021-04-20
|
* Make some SQLite related improvementsChristopher Baines2021-04-20
| | | | | Don't keep database connections around forever as this relates to cached query plans, and also run the optimize pragma when closing connections.
* Support destructors and lifetimes for worker threadsChristopher Baines2021-04-20
|
* Support finding blocking builds not including cancelled onesChristopher Baines2021-04-16
| | | | As including cancelled ones can make the query much slower.
* Handle receiving logs as bytevectorsChristopher Baines2021-04-09
| | | | I think this can happen if the log doesn't arrive as a chunked HTTP request.
* Always join against the derivations tableChristopher Baines2021-04-04
| | | | | As that's now needed for the derivation name in datastore-list-failed-builds-with-blocking-count.
* Truncate the WAL if it exceeds 100MiBChristopher Baines2021-04-04
| | | | As database performance seems to start to drop off around this point.
* Fix tagging buildsChristopher Baines2021-04-02
|
* Always include derivation joinChristopher Baines2021-04-02
|
* FixChristopher Baines2021-03-30
|
* Fix more build id/uuid issuesChristopher Baines2021-03-30
|
* FixChristopher Baines2021-03-30
|
* Stop quoting number build idsChristopher Baines2021-03-30
|
* Fix more type issuesChristopher Baines2021-03-30
|
* Fix incorrect parameterChristopher Baines2021-03-30
|
* Fix GROUP BYChristopher Baines2021-03-30
|
* Add missing GROUP BYChristopher Baines2021-03-30
| | | | This was removed in error in 57932a3d80ba6e41bb349487372f990cf56063d1.
* Fix datastore-fetch-build-ids... not returnning uuidsChristopher Baines2021-03-30
|
* Fix issue with numeric build IDs in stringsChristopher Baines2021-03-30
|
* Start the allocator and hook threads laterChristopher Baines2021-03-29
| | | | It's important that this code doesn't run until Sqitch has run.
* Use numeric ids for the derivations and buildsChristopher Baines2021-03-29
| | | | | Using natural IDs was nice at the start, but just doesn't scale. This migration cuts the database size, and potentially speeds up queries as well.
* Only show blocking builds which actually block at least one buildChristopher Baines2021-03-29
| | | | Otherwise this turns in to a list of mostly canceled builds.
* Add some error handling for POST buildsChristopher Baines2021-03-27
|
* Include cancelled builds when looking for blocking buildsChristopher Baines2021-03-27
| | | | As a build being cancelled can explain why others can't progress.