-
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
Duplicate data for the same timestamp #6946
Labels
Milestone
Comments
@maykSVK Can you test if the latest nightly build shows this behavior? |
I have tried it in today's nightly build (wget https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb) and the beahvior was still the same |
jwilder
added a commit
that referenced
this issue
Jul 18, 2016
There was a race where the same series would get added to the in-memory index for a measurement more than once. This would result in the same series being returned more than once during queries causing duplicate results. The issue was that we check for the series under the read lock, but did not check again under the write lock where there was a small window where the series could be added by another goroutine. We now check for the series under the write lock. Fixes #6946
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some case is somehow possible to have multiple data with the same timestamp. I manage to simulate this behavior.
data2.txt
I suppose that there is some kind of cashing of the data, because when I restart InfluxDb server, everything works fine. Also when I use less data, it works fine.
The text was updated successfully, but these errors were encountered: