Use a lease for resuming concurrency limited workers
The following discussion from !169561 (merged) should be addressed:
-
@stanhu started a discussion: (+2 comments) Are we guaranteed that only one
QueueManageris ever working at a given time? Is it possible that oneQueueManagermight step on the other while trying to resume processing?
Proposed tasks
- Set
until_executedstrategy for the resume worker. - Use a per-worker exclusive lease when resuming processing to avoid race conditions with manual interventions from the console.
Thanks @dgruzd for the suggestion
Edited by Sylvester Chin