-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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-rc3] (regression) Derivative does not work with MIN/MAX/LAST #4849
Comments
@cnelissen are you running a standalone instance or a cluster? |
Single server, no clustering |
Hi all, Same issue here with latest 0.9.5. I have the same use case as @cnelissen and it doesn't work fine for me. Anyone have the same issue? I'm working also in single server, without clustering |
Hi everybody, Same issue for us, as derivative with some aggregates functions (last, first, min, max) do not return any values. |
Single instance, latest 0.9.5. This is a complete show stopper - sorry, but aren't there any tests for such obvious bugs? How to use influxdb in a prod environment with such regressions? 👎 |
We need more details, can you please follow the bug reporting guidelines https://github.com/influxdb/influxdb/blob/master/CONTRIBUTING.md On Thursday, November 26, 2015, Corin Langosch notifications@github.com
|
Version: Test Example (from influxdb cli execution)
As it can be seen, there is no value with MAX,MIN,LAST. Do you need something more? |
Fresh install,
|
Thanks @gucki -- including actual data to insert is very helpful, and makes it much easier to see what is going on. |
@otoolep Have you been able to reproduce the bug? Is a hotfix planned? If not, is it safe to downgrade to 0.9.4? |
@gucki -- yes I have reproduced this issue. Once we make a fix, it'll be available immediately in a nightly. Downgrading to 0.9.3 should work, but you need to be sure you current configuration file works with 0.9.3. We do not extensively test downgrades, and should back up the directories under your system if you have any concerns. |
Sending to @jwilder to take a look. |
The points have gaps w/ |
Adding
|
Hey guys,
Looks like something has changed since 0.9.4. Derivative no longer works with MIN/MAX/LAST aggregate functions... Here is some sample data and queries:
This is obviously an issue because we don't always want to average the values, sometimes we only want the last value reported for that bucket, as is the case with this data. This data is coming from SNMP counter values, which means they are always increasing sequentially. If for some reason we stored the data twice inside of the same 5 minute interval (maybe a lag in the collection agent, etc), we only really care about the last value that was inserted. If we were to use SUM/MEAN or any other aggregate function, it will distort the data.
This was working on previous versions of 0.9.x...
The text was updated successfully, but these errors were encountered: