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

Block on stopCh in Run method of controllerMonitor #6708

Merged

Conversation

antoninbas
Copy link
Contributor

The Run method of controllers usually never returns until the stop channel is closed. The controllerMonitor seems to be the exception, as it returns after "initialization", despite the Run method being invoked in a separate goroutine. This leads to a confusing message in the Antrea Controller logs, informing us that AntreaControllerMonitor is shutting down.

The Run method of controllers usually never returns until the stop
channel is closed. The controllerMonitor seems to be the exception, as
it returns after "initialization", despite the Run method being invoked
in a separate goroutine. This leads to a confusing message in the Antrea
Controller logs, informing us that AntreaControllerMonitor is shutting
down.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
@antoninbas antoninbas merged commit 55384dc into antrea-io:main Oct 8, 2024
48 of 56 checks passed
@antoninbas antoninbas deleted the block-in-controllerMonitor-Run branch October 8, 2024 17:11
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