-
Notifications
You must be signed in to change notification settings - Fork 36
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
Race condition in LockFreeExponentiallyDecayingReservoir #85
Comments
hi @98amp2 thanks for reporting. We will looking into this issue. |
Sorry for introducing this regression! I think the best fix would be to switch to this implementation instead: dropwizard/metrics#1656 @carterkozak would you be ok with us inlining that in this repo until it's released in dropwizard/metrics? |
Of course :-) |
Code taken from dropwizard/metrics#1656 with permission from the author. See: #85 Replace this with the class from the dropwizard dependency once it is has been released.
@malish8632 I've made this PR now to address it: #87 |
Code taken from dropwizard/metrics#1656 with permission from the author. See: #85 Replace this with the class from the dropwizard dependency once it is has been released.
Code taken from dropwizard/metrics#1656 with permission from the author. See: #85 Replace this with the class from the dropwizard dependency once it is has been released.
Code taken from dropwizard/metrics#1656 with permission from the author. See: #85 Replace this with the class from the dropwizard dependency once it is has been released.
Code taken from dropwizard/metrics#1656 with permission from the author. See: #85 Replace this with the class from the dropwizard dependency once it is has been released.
I think this can be closed now since #87 was merged? |
While using the version
1.0.7
in a backend, we noticed this error crop upIt looks like this can occur if the
State
sConcurrentSkipListMap
is reset via abackfill
in one thread at the same time anupdate
on that state happens in another thread. Granted it's a small window but it looks to be possible with the current implementation.The text was updated successfully, but these errors were encountered: