cloudstack/server
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
..
conf Use same sudoers config for all distros Cleanup buggy code for sudoers file editing 2015-06-19 16:00:57 +02:00
resources Merge branch 'volume-upload' into master 2015-04-29 11:12:53 +05:30
scripts License header updates for the server folder. 2012-08-03 09:41:27 -04:00
src Merge pull request #1009 from rags22489664/master 2015-11-04 11:48:08 +01:00
test CLOUDSTACK-8962: Dedicated cluster is used for virtual routers that belong to non-dedicated account 2015-10-22 12:57:56 +05:30
pom.xml Change tests random number generator to /dev/urandom 2015-05-29 20:24:41 +02:00