You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Michael (JIRA)" <ji...@apache.org> on 2013/07/08 23:15:49 UTC
[jira] [Created] (CLOUDSTACK-3401) Small page sizes return
duplicate results
Michael created CLOUDSTACK-3401:
-----------------------------------
Summary: Small page sizes return duplicate results
Key: CLOUDSTACK-3401
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3401
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.1.0
Reporter: Michael
When performing a listUsageRecords query and small page sizes are used (eg 10) then the same records gets returned on different pages and some records aren't reported at all. When larger page sizes such as 100 are used we don't see any duplication although the concern is that duplication will occur.
Example call:
listUsageRecords( ['startdate' => '2013-06-07', 'enddate' => '2013-07-07', 'accountid' => 'xxxx', 'page' => $p, 'pagesize' => 10])
The same call with a larger number returns the same number of overall results but those results differ.
The expected result is that the calls to the same function with the same criteria but different page sizes should return the exact same results once all pages have been iterated through.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira