----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/8971/ -----------------------------------------------------------
Review request for cloudstack, Kishan Kavala and Rohit Yadav. Description ------- The usage sever does not handle data in the correct time. For example, it regards the data traffic between 9:15-9:30 as the data traffic between 9:30-9:45. Another example is, it regards the data traffic in the day before yesterday as the traffic in yesterday. Another problem is, when the usage.stats.job.aggregation.range is set to N( for example, 15), the usage job handle the data every N+1 minutes( for example 16). This is a patch for this issue (all details are described here: https://issues.apache.org/jira/browse/CLOUDSTACK-962) This addresses bug CLOUDSTAC?K-962. Diffs ----- server/src/com/cloud/user/dao/UserStatisticsDaoImpl.java fd7795a usage/src/com/cloud/usage/UsageManagerImpl.java 53ebb14 Diff: https://reviews.apache.org/r/8971/diff/ Testing ------- The patch is tested in CloudStack Virtual Router environment (Advanced Networking, not Basic Networking). Thanks, Wei ZHOU