Race condition when set semaphore at both workflow and template level #15547
Unanswered
quantm0806
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.
-
Hi, I'm meeting race condition when using semaphore.
What I have setup
total-pods=2The cron workflow and normal workflow are attached here:
test_parallelism_cwf.json
test_semaphore_templates_with_priority_wf.json
How to reproduce
total-podshas been all used by the cron workflows (its workflow takes 1 and its template takes 1)Note: I set
priority: 1in normal workflow at both workflow + template level but somehow it isn't prioritized to get 2total-podsQuestion
You can set a [priority](https://argo-workflows.readthedocs.io/en/latest/parallelism/#priority) on Workflows.So does it mean that I cannot set a priority on template but workflow?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions