Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix bugs in throttler and syncManager initialization in WorkflowController #11210

Merged
merged 2 commits into from
Jun 26, 2023
Merged

fix: fix bugs in throttler and syncManager initialization in WorkflowController #11210

merged 2 commits into from
Jun 26, 2023

Conversation

smile-luobin
Copy link
Contributor

@smile-luobin smile-luobin commented Jun 14, 2023

fixes #9875
fixes bugs in throttler and syncManager initialization in WorkflowController.

Motivation

Previously, we just list all running workflows in the wc.namespace to initialize throttler and syncManager.

wfList, err := wfc.wfclientset.ArgoprojV1alpha1().Workflows(wfc.namespace).List(ctx, listOpts)

As we can install argo-workflows as cluster-install, we may create workflows in any namespaces, instead of just in the wc.namespace.
this initialize function may broken the throttler and syncManager if there are workflows running in other namespaces.

@smile-luobin smile-luobin changed the title feat: fix bugs in throttler and syncManager initialize in WorkflowController feat: fix bugs in throttler and syncManager initialization in WorkflowController Jun 14, 2023
@smile-luobin smile-luobin changed the title feat: fix bugs in throttler and syncManager initialization in WorkflowController fix: fix bugs in throttler and syncManager initialization in WorkflowController Jun 16, 2023
@terrytangyuan terrytangyuan merged commit 451d275 into argoproj:master Jun 26, 2023
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
terrytangyuan pushed a commit that referenced this pull request Jul 19, 2023
@agilgur5 agilgur5 added area/controller Controller issues, panics area/mutex-semaphore labels Sep 8, 2023
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync semaphore: Lock not released during retry backoff
3 participants