Skip to content

Commit

Permalink
fix: Fixed running multiple workflows with mutex and memo concurrentl…
Browse files Browse the repository at this point in the history
…y is broken (argoproj#11883)

Signed-off-by: shmruin <[email protected]>
  • Loading branch information
shmruin authored Sep 25, 2023
1 parent 35e4b17 commit b5f69a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,7 @@ func (woc *wfOperationCtx) executeTemplate(ctx context.Context, nodeName string,
if node != nil {
fulfilledNode := woc.handleNodeFulfilled(nodeName, node, processedTmpl)
if fulfilledNode != nil {
woc.controller.syncManager.Release(woc.wf, node.ID, processedTmpl.Synchronization)
return fulfilledNode, nil
}
// Memoized nodes don't have StartedAt.
Expand Down

0 comments on commit b5f69a8

Please sign in to comment.