I must be missing something and would appreciate if someone would help me:
Suppose I have a tenanted deployment, with steps ‘a’, ‘b’ and ‘c’. Suppose also that the tenants(T1, T2…Tn) are all hosted in the same server. Step ‘b’ needs to run exclusively of other tenants. ie: when ‘b’ is running for tenant T1, I do not want to start ‘b’ for any other tenants T2…n. I also do want steps ‘a’ & ‘c’ to run in parallel in all tenants on all servers.
How can we achieve this exclusive one-at-a-time in a target server? Like is there a semaphore implementation per target that can be leveraged?