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

Fixing concurrent map access panic in scaler #415

Merged
merged 3 commits into from
Mar 22, 2022
Merged

Conversation

arschles
Copy link
Collaborator

This PR ensures that the data structures that hold the pending queue in the scaler's queuePinger are protected by the pinger's mutex.

@morganchristiansson and @stefanbulzan thanks for bringing this up. if you care to review this, please feel free!

Checklist

Fixes #414

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
Copy link
Collaborator

@asw101 asw101 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@asw101 asw101 merged commit 2d35d0d into kedacore:main Mar 22, 2022
@arschles arschles deleted the concmap branch March 22, 2022 18:59
@JorTurFer JorTurFer added this to the v0.4.0 milestone Jan 26, 2023
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.

keda-add-ons-http-external-scaler fatal error: concurrent map writes
3 participants