[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43564: cuirass: Contention while registering new builds.
From: |
Ludovic Courtès |
Subject: |
bug#43564: cuirass: Contention while registering new builds. |
Date: |
Mon, 05 Oct 2020 14:07:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello!
Mathieu Othacehe <othacehe@gnu.org> skribis:
> Turns out, once an evaluation is over, new builds are registered. This
> registration tries to insert a new build for each derivation returned by
> the evaluation phase. If the new build does not add a new output, the
> insertion query is then rollbacked. This means that there are at least
> as many insertion queries as new derivations.
Isn’t that the real problem, that we’re doing one transaction per
derivation?
Ideally, upon evaluation completion, I’d expect us to create a single
transaction that registers all 50K derivations at once, no?
Thanks for the great improvements in this area!
Ludo’.