Cannot acquire Mutex


#1

I have a mutex on my job and each job has a dependency on its parent. When the jobs run, all the jobs are enqueued one after the other and eventually the entire list of jobs succeed. However, when one of the jobs in the list fails, the next set of jobs never move form Awaiting -> scheduled -> processing. Also, I have specified that the jobs should continue no matter what the status of the parent is by using JobContinuationOptions.OnAnyFinishedState.

If I manually try to Enqueue the jobs that are in the Awaiting state, the jobs fail because they can no longer acquire a mutex.

Any help / pointers to resolve this issue are deeply appreciated. Thanks.