guix-data-service/scripts
Christopher Baines f66ff9a3ff Rework how data is inserted
This is the big change needed to allow for parallel revision
processing. Previously, a lock was used to prevent this since the parallel
transactions could deadlock if each inserted data that the other then went to
insert.

By defining the order in which inserts happen, both in terms of the order of
tables, and the order of rows within the table, this change should guarantee
that there won't be deadlocks.

I'm also hoping this change will address whatever issue was causing some
derivation data to be missing from the database.
2026-02-05 12:23:10 +00:00
..
guix-data-service-backup-database Allow customising the pg_dump command used 2021-01-03 19:05:41 +00:00
guix-data-service-create-small-backup Fix more issues with the git_commits introduction 2022-05-23 22:49:51 +01:00
guix-data-service-manage-build-servers.in Add a lookup_builds field to the build_servers table 2020-05-24 17:02:53 +01:00
guix-data-service-process-branch-updated-email.in Use with-exception-handler in place of with-throw-handler 2025-02-25 10:38:10 +00:00
guix-data-service-process-branch-updated-mbox.in Use = when comparing numbers 2025-03-11 17:15:00 +00:00
guix-data-service-process-job.in Rework how data is inserted 2026-02-05 12:23:10 +00:00
guix-data-service-process-jobs.in Allow specifying a limit to inferior memory usage 2025-06-28 09:29:10 +02:00
guix-data-service-query-build-servers.in Support not querying pending builds 2020-11-01 22:52:53 +00:00
guix-data-service-query-substitute-servers.in Split out querying of build servers and substitute servers 2020-05-03 13:23:43 +01:00
guix-data-service.in Don't use the after-gc-hook for monitoring garbage collection 2025-06-29 23:22:31 +02:00