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: multi controller run concurrently after leadership lost #2350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drivebyer
Copy link
Contributor

The previous PR, available at this link, addresses the issue of multiple controllers in an unstable API server environment.

However, in this commit, a critical line of code has been replaced with the cancel() method, which does not fully resolve the issue.

This is because the context associated with cancel() is not passed as an argument into runWorker().

@ramondeklein
Copy link
Contributor

I don't think we should terminate the process when leadership is lost. If there is a problem, then we need to fix it the proper way.

@ramondeklein
Copy link
Contributor

@drivebyer What is the problem that you experience and how can we reproduce?

@drivebyer
Copy link
Contributor Author

@drivebyer What is the problem that you experience and how can we reproduce?

please see #2309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants