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 issue where external scaler gets wedged in a bad state when queue count metric fetch fails #876

Merged
merged 4 commits into from Jan 15, 2024

Conversation

werdnum
Copy link
Contributor

@werdnum werdnum commented Jan 10, 2024

Instead of returning an error when queue count fetch fails, only log an error and let the loop continue.

Checklist

Fixes #870

Returning the error here cancels the whole queuePinger.start loop, causing the server to (theoretically) crash.

Due to a separate bug, instead of crashing, the server can get wedged in an unhealthy state.

Fixes kedacore#870.

Signed-off-by: Andrew Garrett <andrewgarrett@google.com>
Signed-off-by: Andrew Garrett <andrewgarrett@google.com>
@werdnum werdnum requested a review from a team as a code owner January 10, 2024 09:35
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Sorry for the slow response... :(
Thanks for the fix ❤️
LGTM

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
@JorTurFer JorTurFer enabled auto-merge (squash) January 15, 2024 07:59
@JorTurFer JorTurFer merged commit 7908755 into kedacore:main Jan 15, 2024
19 checks passed
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.

Scaling ceases to function after a while
2 participants