Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-3401

Small page sizes return duplicate results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.5.0
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kishan Kishan
              usiw Michael
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: