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 (#11883)

Signed-off-by: shmruin <meme_hm@naver.com>
  • Loading branch information
shmruin committed 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
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.