-
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.5-rc2] data not returned by SELECT * query #4832
Comments
@rackunits the system is responding to the query, as evidenced by this line in the logs:
That shows that the query was returned, so nothing is hanging. The question becomes why are there no points found for Can you please give the output from |
To be clear, an empty response with a |
@beckettsean I experience the exact same behavior with RC3 . select * return an empty set. A single point (with tags and field and retention policy applied) is pushed to the data base the write succeed, series is create , etc.. but the select * fail. Note that if i revert to 9.4 stable the issue disappear. Here some of the information :
Note that if I do not add any retention policies and do not use a retention policy during the write operation the select * query succeed ... It seems that the issue is with the retention policy but in my case i force them to be Infinite ("INF") for test purpose. Is there a bug that interpret the 0 duration to drop immediately the datapoints ? |
That implies that it fails when you do explicitly supply a retention policy on writes. Are you aware that you must also provide that retention policy when querying? For example, if you write points to the Does that clarification make sense? Knowing that, are you still seeing select queries incorrectly returning no results? |
Having the same issue with default retention policy and no policy changes what so ever. It looks like that, intermittently, only the last point written is returned, and sometimes no values at all. Subsequent queries respond with all data. This seems to be similar to previous issue reported on nightly builds - #4354 So yes, am seeing select queries incorrectly returning only one or no results on latest 0.9.5-rc3 with tsm1 engine. Intermittently a response looks like this: {"results":[{"series":[{"name":"carbon.relays.c1ba46da-cd60-4a99-a67b-24b04accfcf4.metricsReceived","columns":["time","value"],"
values":[[1448033450000,0]]}]}]} That data point is for the last point written and, interestingly, has an (incorrect) 0 value. Subsequent queries look like this: {"results":[{"series":[{"name":"carbon.relays.c1ba46da-cd60-4a99-a67b-24b04accfcf4.metricsReceived","columns":["time","value"],"
values":[[1448029970000,59],[1448030030000,59],[1448030090000,59],[1448030150000,59],[1448030210000,59],[1448030270000,59],[1448030330000,59],[1448030390000,59],[1448030450000,59],[1448030510000,59],[1448030570000,59],[1448030630000,59],[1448030690000,59],[1448030750000,59],[1448030810000,59],[1448030870000,59],[1448030930000,59],[1448030990000,59],[1448031050000,59],[1448031110000,59],[1448031170000,59],[1448031230000,59],[1448031290000,59],[1448031350000,59],[1448031410000,59],[1448031470000,59],[1448031530000,59],[1448031590000,59],[1448031650000,59],[1448031710000,59],[1448031770000,59],[1448031830000,59],[1448031890000,59],[1448031950000,59],[1448032010000,59],[1448032070000,59],[1448032130000,59],[1448032190000,59],[1448032250000,59],[1448032310000,59],[1448032370000,59],[1448032430000,59],[1448032490000,59],[1448032550000,59],[1448032610000,59],[1448032670000,59],[1448032730000,59],[1448032790000,59],[1448032850000,59],[1448032910000,59],[1448032970000,59],[1448033030000,59],[1448033090000,59],[1448033150000,59],[1448033210000,59],[1448033270000,59],[1448033330000,59],[1448033390000,59],[1448033450000,59]]}]}]} Notice that the same data point as the previous query now has the correct non-zero value. Version info:
Retention policies:
|
Apologies, I have found the reason for this issue. |
Thanks for the followup, @rackunits. @pkittenis I'm closing this issue, but I will re-open if your issues are not adequately covered by #4354. @benoit-stratoscale I assume your data is query-able when using the proper retention policy. |
Using influxdb_0.9.5-rc2
After a while of successful queries my databases no longer respond to select queries.
No response from the InfluxDBShell..
While SHOW queries do show results
Here is a part from the influxdb log:
The text was updated successfully, but these errors were encountered: