-
Notifications
You must be signed in to change notification settings - Fork 549
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
Metrics-generator in 2.2 panics with: fatal error: concurrent map iteration and map write
#2785
Comments
The panic happened on this line: tempo/modules/generator/instance.go Line 229 in 9b8f5df
We are iterating over the 🤔 It could be that the overrides module is writing to the map while we iterate over it, but this code has been in place for a really long time so it seems unlikely we didn't spot this before.
tempo/modules/generator/instance.go Line 137 in 9b8f5df
Added in april 19, tempo 2.1.1 was released april 28 --> this might be new to 2.2? I would have to check in more detail. This function will modify
|
Can confirm the entire |
…efault overrides (grafana#2785) * Modify concurrency test to consider multitenant / concurrent updateProcessors calls * Copy desiredProcessors map before modifying it * Update CHANGELOG.md (cherry picked from commit 9af6bb2)
Describe the bug
Reported in community Slack: https://grafana.slack.com/archives/C01D981PEE5/p1691583814497569
Stack trace
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No panics. No restarts.
Environment:
Additional Context
The text was updated successfully, but these errors were encountered: