aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/gc-concurrent.builder.sh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-10-02 15:39:17 +0200
committereldritch horrors <pennae@lix.systems>2024-10-04 17:49:57 +0000
commit5b1715e63349541c1d021f6426b2ad67a0bf518f (patch)
tree3cae908d6d4686ba70932022321802a55167828d /tests/functional/gc-concurrent.builder.sh
parent0b29859cfe00e321875d87d7305c99f2d301a475 (diff)
libstore: forbid addWantedGoals when finished
due to event loop scheduling behavior it's possible for a derivation goal to fully finish (having seen all paths it was asked to create), but to not notify the worker of this in time to prevent another goal asking the recently-finished goal for more outputs. if this happened the finished goal would ignore the request for more outputs since it considered itself fully done, and the delayed result reporting would cause the requesting goal to assume its request had been honored. if the requested goal had finished *properly* the worker would recreate it instead of asking for more outputs, and this would succeed. it is thus safe to always recreate goals once they are done, so we now do. Change-Id: Ifedd69ca153372c623abe9a9b49cd1523588814f
Diffstat (limited to 'tests/functional/gc-concurrent.builder.sh')
0 files changed, 0 insertions, 0 deletions