Skip to content

fix: attempt to shut down when provider init fails #2263

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

Merged

Conversation

acuteaura
Copy link
Contributor

@acuteaura acuteaura commented Jul 12, 2024

Fixes #1980.

Simpler version of #2152 that shouldn't break any tests, since it doesn't touch leader election.

Also addresses #2236.

This one just adds communicating failure from run back to Run, tried to shut down gracefully, but forces a shutdown after 5 seconds.

Still wouldn't recommend running two replicas, the code has some potential races.

Copy link

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Sep 11, 2024
@acuteaura
Copy link
Contributor Author

would be great if a maintainer could look at this eventually

@github-actions github-actions bot removed the stale label Sep 12, 2024
@acuteaura
Copy link
Contributor Author

@Revolyssup sorry about the direct ping, are you still working on the ingress or could you direct me to someone who can help?

@Revolyssup Revolyssup requested a review from AlinsRan October 10, 2024 16:51
@tomasz-sel
Copy link

Hey @AlinsRan, could you please take a look at this when you have a chance? Your review would help us keep things moving. Thanks a lot!

Copy link
Member

@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot

@juzhiyuan juzhiyuan merged commit c3d6cc7 into apache:master Nov 7, 2024
@acuteaura acuteaura deleted the fix/exit-when-provider-init-fails branch November 8, 2024 09:11
Revolyssup pushed a commit to Revolyssup/apisix-ingress-controller that referenced this pull request Mar 17, 2025
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.

bug: ingress-controller doesn't recover from failed sync
6 participants