-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[0.9.0-rc30] drop measurement while writing points to that measurement has race condition that can panic #2608
Comments
A few things to note: I suspect the error is related to that. Can you drop other measurements without a panic? In the last snippet, the error message is stating that the |
It's not anything to do with "value", as I was able to create a measurement with that name and drop it without a panic:
0.9.0-RC30, no panic.
Somehow it looks like your Can you provide the ~50 log lines on either side of the panic? |
I am sure collectd exists, and I
the goroutine that panics:
|
I'm able to reproduce, looks like a timing issue. When the database is under write load, occasionally issuing duplicate Repro steps:
When the stack trace happens, the terminal writing the curl statements had this output:
Note that repeatedly issuing The error happens when writing points to a measurement that's also being dropped. I think that's safely classified as an edge case, since it's odd to drop an entire measurement and still be writing data into it. |
Below is the log:
after the panic, I can never find any measurements at all (while there should be many):
The text was updated successfully, but these errors were encountered: