Delayed setting of resource restrictions to tasks #8493
Unanswered
andrew-esteban-imc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I have a workflow at the moment where there may be a race condition between
Scheduler.update_graph
andScheduler.client_desires_keys
. Whenupdate_graph
occurs first, resource restrictions are correctly applied to the tasks throughScheduler._apply_annotations
, however whenclient_desires_keys
comes first, any tasks that were included in the call toclient_desires_keys
do not have annotations applied to them duringupdate_graph
, due to_apply_annotations
only acting on tasks that did not already have a task state.I can probably figure out a way to overcome this race condition on my end, but I was wondering if there was a way to have a delayed setting of annotations?
Beta Was this translation helpful? Give feedback.
All reactions