From b5f69a8826609eabc6e11fb477eea3472ba4f91f Mon Sep 17 00:00:00 2001 From: Ruin09 Date: Mon, 25 Sep 2023 10:29:35 +0900 Subject: [PATCH] fix: Fixed running multiple workflows with mutex and memo concurrently is broken (#11883) Signed-off-by: shmruin --- workflow/controller/operator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index ffc29948ff8a..eac39b18a896 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -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.