Skip to content
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

Values saved during bulkstore is not calculated correctly for Archives with a TOTAL ConsolFun #35

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Take an ABSOLUTE archive with a TOTAL ConsolFun
    STEP = 10; 
    HEARTBEAT = STEP * 6 * 60 * 24 * 14;
    XFF = 0.9999;
    A Row resolution of one hour.
2. Save value in RRD using sample.update with current time.
3. Save new value in RRD with a time that is several hours later.
4. The intermediate rows are filled with the wrong value.


What is the expected output? What do you see instead?
The expected output is the total time for the whole row. So for an ABSOLUTE 
archive with TOTAL ConsolFun the stored value should value = value * arcstep / 
step;
Instead, the stored total value in a row is the value per second between the 
startTime and the boundaryTime.

What version of the product are you using? On what operating system?
Version 2.1.1 on Ubuntu.

Please provide any additional information below.
Archive.java
Line 130 -> robin.bulkStore(value, bulkUpdateCount);
The value is not calculated correctly for an ABSOLUTE Archive with a TOTAL 
ConsolFun, because the value is the value per second and instead we need the 
sum value for a whole row.

Original issue reported on code.google.com by l.a.de...@gmail.com on 7 Jun 2012 at 7:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant