cloudstack/server/src/com/cloud
Remi Bergsma 5f61041550 Merge pull request #1009 from rags22489664/master
CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrentlyThe order of templates returned in the response is based on a field called sortkey and by default value for the field is set to 0.

With more than 1000 templates, we tried listing the templates with different page sizes concurrently, and we noticed the results being inconsistent.

Thus we added a secondary order by clause to list templates call on tempZonePair column to make sure the results are consistent.

The addOrderby method of Filter class was also not appending , if we added more orderby clauses.

* pr/1009:
  CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently
  CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-04 11:48:08 +01:00
..
account Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
acl Error message exposes domain Id when deployVirtualMachine() is attempted on a shared network to which the user doesnot have access to. 2015-03-13 15:02:26 +05:30
agent/manager CLOUDSTACK-8911: VM start job got stuck in loop looking for suitable host 2015-09-30 09:05:25 +05:30
alert CLOUDSTACK-8835: Added alerts incase of template download failure 2015-09-11 16:07:35 +05:30
api CLOUDSTACK-9006 - ListTemplates API returns result in inconsistent order when called concurrently 2015-10-30 09:44:59 +05:30
async Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
capacity Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
configuration Refactored checkIfZoneIsDeletable(). 2015-09-16 22:19:14 +02:00
consoleproxy Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
dc Fixed some problems reported by FindBugs 2014-03-13 13:45:30 -07:00
deploy CLOUDSTACK-8962: Dedicated cluster is used for virtual routers that belong to non-dedicated account 2015-10-22 12:57:56 +05:30
event CLOUDSTACK-8816: Project UUID is not showing for some of operations in RabbitMQ. 2015-09-09 14:23:28 +05:30
ha Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
hypervisor CLOUDSTACK-8964: Can't create template or volume from snapshot 2015-10-23 22:02:24 +02:00
metadata Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
network Merge pull request #898 from bvbharatk/CLOUDSTACK-8902 2015-11-04 11:37:51 +01:00
projects CLOUDSTACK-8816: Project UUID is not showing for some of operations in RabbitMQ. 2015-09-09 14:23:28 +05:30
resource Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
resourcelimit Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
server CLOUDSTACK-8816 Systemvm reboot event doesnt have uuids. Fixed the same 2015-09-09 14:23:29 +05:30
servlet CLOUDSTACK-8656: reporting ignored exceptions in server 2015-08-04 15:50:35 +02:00
storage CLOUDSTACK-8889: delete volume doesnt decrement primary store resource count 2015-10-26 17:40:27 +05:30
tags Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
template CLOUDSTACK-8834: Fixed unable to download Template , when in multi zones 2015-09-11 15:30:39 +05:30
test findbugs: use a prepared statement as prepared statement 2015-06-19 23:26:00 +02:00
usage Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
user CLOUDSTACK-8816 added missing events 2015-10-26 09:15:33 +05:30
uuididentity CLOUDSTACK-6785: changed async job param injectedjobid to customjobid and check for unique/uuid 2014-05-27 15:23:12 -06:00
vm CLOUDSTACK-8816: some of the events do not have resource uuids 2015-10-26 09:15:32 +05:30