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_graphandScheduler.client_desires_keys. Whenupdate_graphoccurs first, resource restrictions are correctly applied to the tasks throughScheduler._apply_annotations, however whenclient_desires_keyscomes first, any tasks that were included in the call toclient_desires_keysdo not have annotations applied to them duringupdate_graph, due to_apply_annotationsonly 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