Open SGStino opened 3 years ago
There seems to be more going on:
2021-06-21 to 2021-06-22: While 2021-06-22 to 2021-06-23 returns: "No data in response"
But 2021-06-21 to 2021-06-23 returns this:
Trying the game of higher/lower a little further; WHERE time >= 1624233600000ms and time <= 1624356000000ms: no data WHERE time >= 1624233300000ms and time <= 1624356000000ms: 51384 points.
This seems to happen with multiple measures around the same timeranges. And even on 1.8.5
A little more insights were gained:
the boundary where data stops loading is 02:00+02:00, this means 00:00Z, this is probably the boundary of a shard file.
which means that if we span a query over shard X-1 and X, it loads data, if we load data just from shard X, it doesn't.
So what this told us, is that we had a problem with our data files. We've re-imported them from non-influx blob storage and now it loads correctly.
We suspect this may have been caused by instability with the influx server during the previous import, which loads measure per measure into the database for an entire month at a time.
Somehow this resulted in an issue with certain shards.
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
We run following queries: SELECT "value" FROM "somemeasure" WHERE time <= '2021-06-20T00:00:00.0000000+00:00' SELECT "value" FROM "somemeasure" WHERE time >= '2021-06-20T00:00:00.0000000+00:00'
In influx 1.8.5 this is the result: In influx 1.8.6 this is the result:
Expected behavior: I'd expect time filters with an "after" to still work after updating
Actual behavior: Queries with "time after" return no results, not in grafana, and not with influx:8086/query?q=...
Environment info:
influx docker image 1.8.5 and 1.8.6
Logs: no significant change between 1.8.6 and 1.8.5: