aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Force add resources parallelism to 1 for some resource poolsChristopher Baines2025-02-02
| | | | | This'll be the default in coming revisions of knots, and is neccessary for pools being used to share a single object.
* Remove use of call-with-utility-threadChristopher Baines2025-01-31
| | | | | As I think it's no longer necessary, and the PostgreSQL connection is being handled here incorrectly.
* Work around the resource pool needing a destructorChristopher Baines2025-01-31
|
* Configure the knots web server connection buffer sizeChristopher Baines2025-01-29
| | | | Rather than changing the buffer size when processing each request.
* Move the exception handling to the knots web serverChristopher Baines2025-01-29
| | | | | | Rather than adding another layer. This commit also removes the extra fibers layer when processing requests. I forget exactly why this was added, but if the reason resurfaces then it should be addressed in knots.
* Update KnotsChristopher Baines2025-01-29
|
* Fix branch package version page if no data is foundChristopher Baines2025-01-27
|
* Fix matching NULLChristopher Baines2025-01-27
|
* Fix null handling in result-serializer-simple-list-with-null-handlingChristopher Baines2025-01-26
|
* Handle NULL values for included_branchesChristopher Baines2025-01-17
|
* Update Guile KnotsChristopher Baines2025-01-14
|
* Log resource pool stats on errorsChristopher Baines2025-01-06
|
* Fix log messageChristopher Baines2025-01-06
|
* Attempt to reduce memory churn when processing package metadataChristopher Baines2024-12-29
|
* Report on the GC when processing revisionsChristopher Baines2024-12-29
|
* Parallelise inserting derivation countsChristopher Baines2024-12-29
|
* Remove random xChristopher Baines2024-12-29
|
* Avoid null characters in package descriptionsChristopher Baines2024-12-29
|
* Update Guile KnotsChristopher Baines2024-12-29
|
* Make build_servers.id just generated by defaultChristopher Baines2024-12-15
| | | | As to make it easier to set explicitly.
* Add utility functions for configuring the databaseChristopher Baines2024-12-15
|
* Use knotsChristopher Baines2024-12-15
| | | | A library of extracted Guile Fibers patterns and utilities.
* Add a commentChristopher Baines2024-12-09
|
* Log differently when using the load-new-guix-revision-inserts lockChristopher Baines2024-12-09
|
* Avoid getting the load-new-guix-revision-inserts lock twiceChristopher Baines2024-12-09
|
* Fix hash display for formatted derivationsChristopher Baines2024-12-09
|
* Improve some query formattingChristopher Baines2024-12-09
|
* Fix wrong number of values from channel-derivations-by-system->guix-store-itemChristopher Baines2024-12-09
|
* Rework loading revision dataChristopher Baines2024-12-09
| | | | | | | | | | | | | | | | These changes were motivated by switching to a mechanism of loading data that isn't dependent on the big advisory lock that prevents more than one revision from being processed at a time. Since INSERT ... RETURNING id; is used, this can block if another transaction inserts the same data, and then cause an error when that transaction commits. The solution is to use ON CONFLICT DO NOTHING, but you have to handle the case when the INSERT doesn't return an id since the other transaction has inserted it. This commit rewrites insert-missing-data-and-return-all-ids to do as described above, as well as being more efficient in how existing data is detected and to use more vectors. Other utilities for inserting data are added as well.
* Improve null handlingChristopher Baines2024-12-01
|
* Handle conflicts in insert-missing-data-and-return-all-idsChristopher Baines2024-12-01
|
* Memoize field-can-be-null?Christopher Baines2024-11-29
|
* Handle conflicts when inserting lint warning message setsChristopher Baines2024-11-29
|
* Use insert-missing-data-and-return-all-ids for locationsChristopher Baines2024-11-29
|
* Add in call-with-worker-thread to try to avoid sort problemsChristopher Baines2024-11-29
|
* Move log messageChristopher Baines2024-11-29
|
* Don't lookup #f in the hash tableChristopher Baines2024-11-29
|
* Insert guix_revision_package_derivation_distribution_counts laterChristopher Baines2024-11-26
| | | | As this should speed up processing revisions.
* Don't crash when linters crashChristopher Baines2024-11-26
| | | | | | | | | | This is currently happening because some linters try to evaluate parts of packages for cross-building to aarch64-linux-gnu, but not all packages support that and some crash in this case. I'm not quite sure what the correct behaviour should be, but maybe the data service needs to try and handle these crashes rather than not processing the entire revision.
* Restore calling update-derivation-ids-hash-table!Christopher Baines2024-11-25
| | | | | In derivation-file-names->derivation-ids. This is important for performance since it avoids reading derivations with an entry already in the database.
* Change to logging the filtered derivationsChristopher Baines2024-11-25
| | | | As that's what's relevant here.
* Stop queries being able to insert systemsChristopher Baines2024-11-13
|
* Allow using the heap profiler in the inferiorChristopher Baines2024-11-08
|
* More efficiently create some vectorsChristopher Baines2024-11-08
| | | | | And instrument the inferior memory after creating the gds-inferior-packages vector.
* Add a heap-profiler moduleChristopher Baines2024-11-08
| | | | Taken from a Guile mailing list post.
* Do more when cleaning inferiorsChristopher Baines2024-11-08
| | | | Not sure if this actually helps, but it might do.
* Add log-tag when inserting channel instance derivationsChristopher Baines2024-11-08
|
* Fix git-commit-exists?Christopher Baines2024-11-08
|
* Fix sorting license setsChristopher Baines2024-11-08
|
* Fix starting with an empty databaseChristopher Baines2024-11-08
|