Allow limit queries without random ordering#12598
Allow limit queries without random ordering#12598sureshanaparti wants to merge 4 commits intoapache:4.20from
Conversation
5acff5b to
0ec2ced
Compare
0ec2ced to
b57892b
Compare
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@sureshanaparti , what are we using this for? It is a framework level change without usage, I am really wondering. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12598 +/- ##
=============================================
- Coverage 16.26% 4.15% -12.11%
=============================================
Files 5661 404 -5257
Lines 500010 32965 -467045
Branches 60715 5893 -54822
=============================================
- Hits 81331 1370 -79961
+ Misses 409606 31419 -378187
+ Partials 9073 176 -8897
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
random sorting may not be required in all cases. It requires the use of a temporary table for the sort, which is taking more time for a simple lookup by name of a VM. |
@DaanHoogland there are some usages for it. I used an alternative approach in 02d8f18 for batch expunge. That one line in |
|
@sureshanaparti btw, I think that it may be good to change the usages of |
|
ok, guys, I see how it could have been useful for instance in @winterhazel ’s change. In this PR however it is not used at all. Are we planning to …? |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16714 |
@winterhazel there are references with Filter(1) and random sorting doesn't make sense there, updated |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
256da1e to
609a9e2
Compare
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16746 |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16747 |
@sureshanaparti the random sorting does make sense in |
oh sorry, correct. I'll check and update. thanks @winterhazel |
updated @winterhazel |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16777 |
|
@blueorangutan test |
|
@blueorangutan test |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-15432)
|
|
@winterhazel , are you ok with the current state? |
@DaanHoogland smoke tests should be enough to cover the earlier random ordering cases, for filter with limit - remove the record of setting 'store.download.follow.redirects' from configuration table and restart MS (should have at least 1 zone) - check for the log "Updating value for configuration: store.download.follow.redirects to true". Enable trace to check the exact queries. cloudstack/server/src/main/java/com/cloud/storage/StorageManagerImpl.java Lines 476 to 481 in 34f6f41 |
Description
This PR allows the limit queries without random ordering.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?