-
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.3-rc1-ish] Aggregate function 'mean' don't return all available points #3802
Comments
@papylhomme from the first bullet point it sounds like the timestamps are all exactly 10 seconds apart, since you get results every 10 seconds without a Given that, perhaps there's a strange edge case behavior when grouping by a time interval that's exactly equal to the point spacing. Do you get meaningful results from Also, what version of InfluxDB are you running? |
Yes my points are 10 seconds apart, they're coming from a collectd daemon with polling set to 10s. The query with Regarding the version, it was compiled some days ago against master, head is 4753346 |
@papylhomme I have a theory but I'm not sure it completely holds up. From #3702 we know you have a short retention policy duration. It's entirely possible that shards have a time range of one hour. Data types are consistent per shard, but it is possible to have the same field with different data types in two different shards. Since the behavior changes exactly on the 1800 and 1900 boundaries, that seems consistent. Somehow the 17xx data and the 19xx data are the correct data type ( I can't explain why @jwilder what would |
Seeing new commits related to the mappers I tried with a version build against 3f525ff, behaviour for I'll wait for the data to accumulate for some hours and make another test |
@papylhomme any updates on this issue? |
Unfortunately no, I'm currently reinstalling the system after a disk crash. I'll test with the latest version and let you know asap. |
Running the latest HEAD with a fresh database everything is ok, the results from mean are coherent with the content of the database. Problem solved as far as I'm concerned |
Great, thanks for the follow-up @papylhomme. I wish we had found the cause, but as long as the behavior is gone that's enough. |
I'm experiencing a strange behaviour when querying the data:
Please note this behaviour appeared after a fix (#3702) to ensure shard groups of 1 hour (see logs below).
The text was updated successfully, but these errors were encountered: