-
Notifications
You must be signed in to change notification settings - Fork 16
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
ConcurrentModificationException #59
Labels
bug
Something isn't working
Comments
Thank you @howseen for this bug report. I'll have a look today to see if I can't replace the list here with something more apt for concurrent modifications. |
chriswk
added a commit
that referenced
this issue
Oct 24, 2023
Since we're continuously logging metrics, we could happen to log while serializing the metrics bucket. Moving to a concurrenthashmap will allow us to insert into the map while reading from the iterator. fixes: #59
chriswk
pushed a commit
that referenced
this issue
Oct 25, 2023
Since we're continuously logging metrics, we could happen to log while serializing the metrics bucket. Moving to a concurrenthashmap will allow us to insert into the map while reading from the iterator. fixes: #59
Hi @howseen - 0.5.6 is out and should propagate to the mirrors over the next two-three hours. It swaps the backing map to ConcurrentHashMap instead of Kotlin's MutableMap. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Seems you doesn't use a proper data structure for handling concurrent access to the list
Steps to reproduce the bug
No response
Expected behavior
No response
Logs, error output, etc.
Screenshots
No response
Additional context
No response
Unleash version
0.5.5
Subscription type
Open source
Hosting type
Self-hosted
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered: