-
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.14] Time sorting seems broken #6738
Comments
@cheribral thanks for the report. We're going to need more details. Do you have the raw data available? What was the query you executed? Can you reproduce this with an empty database and some sample data? |
@e-dard Apologies for the delay. There are 13376 series in that particular measurement, structured like:
The query is:
If it helps, a git bisect gives me this as the breaking commit:
|
If there were blocks in later TSM files that were for overwritten points or writes into the past, they could be returned more than once or out of order causing the cursor values to be unsorted. One effect of this is that graphs in graphana would render with the line going all over the place in spots. This might also cause duplicate data to be returned. Fixes #6738
@cheribral Would you be able to test #6897 to see if it resolves this? |
Just to confirm, the issue is fixed. |
@jwilder Sorry, I was just tipped off by someone that they are still seeing this problem. I've tested with the latest nightly, and it is indeed still a problem. |
@e-dard Would you like a new issue for this, or should this one be opened again? The data is coming back jumbled, and the problem still bisects to that same commit. Also, would having some backups files to test with be helpful? |
@cheribral Yes, if you could share your shard data for this that would be very helpful. |
@jwilder Is there an influxdata email address I can use to send the access information? |
@cheribral our email addresses are our first names |
Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
Influxdb 0.14.0~n201605260800
Steps to reproduce:
Expected behavior:
Points come back in order
Actual behavior:
2016-05-26T22:40:00Z 1038
2016-05-26T22:50:00Z 962
2016-05-26T23:00:00Z 3483
2016-05-26T22:50:00Z 1896
2016-05-26T23:00:00Z 1754
2016-05-26T22:40:00Z 113
2016-05-26T22:50:00Z 801
2016-05-26T23:00:00Z 12076
2016-05-26T22:50:00Z 837
2016-05-26T23:00:00Z 40338
2016-05-26T23:10:00Z 4938
2016-05-26T22:40:00Z 64
2016-05-26T22:50:00Z 826
2016-05-26T23:00:00Z 110
2016-05-26T23:10:00Z 2250
Additional info:
We noticed this on one of the servers running the nightly build. While it provided quite a bit of amusement for people passing around grafana graphs that looked like scribbles, I figured I would report it as a bug.
The text was updated successfully, but these errors were encountered: