Uh oh!
There was an error while loading. Please reload this page.
Change vm.stats.remove.batch.size to delete.batch.query.size & allow delete of volume_stats in batches - #9283
Conversation
vishesh92
commented
Jun 21, 2024
@blueorangutan package |
blueorangutan
commented
Jun 21, 2024
@vishesh92 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. |
blueorangutan
commented
Jun 21, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10068 |
Uh oh!
There was an error while loading. Please reload this page.
d42560b to
e562cb0CompareCodecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.19 #9283 +/- ##
=============================================
- Coverage 30.70% 14.97% -15.74% + Complexity 34232 11046 -23186
=============================================
Files 5376 5390 +14 Lines 378222 470973 +92751 Branches 55053 57438 +2385 =============================================
- Hits 116135 70512 -45623 - Misses 246719 392627 +145908 + Partials 15368 7834 -7534
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
vishesh92
commented
Jun 24, 2024
@blueorangutan package |
blueorangutan
commented
Jun 24, 2024
@vishesh92 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. |
blueorangutan
commented
Jun 24, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10094 |
Hey @vishesh92, |
vishesh92
commented
Jun 24, 2024
@JoaoJandre I think I misunderstood what you meant. I thought you didn't want to increase the scope of your PR. As I mentioned earlier in PR #8740, I know it doesn't make sense now. But I am assuming we will be doing this for other tables as well in the future. Do you have any plan on how to deprecate the global settings in the future when we have similar global setting for different tables? |
22060c3 to
96c3a08Compare96c3a08 to
dea2467Comparevishesh92
commented
Jun 25, 2024
@blueorangutan package |
blueorangutan
commented
Jun 25, 2024
@vishesh92 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
commented
Jun 25, 2024
Hi @JoaoJandre Can you review/check if your comments are addressed. It seems the config is applied for vm and volume stats now, this can be extended to other stats/tables later if required without any new config. |
blueorangutan
commented
Jun 25, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10108 |
Uh oh!
There was an error while loading. Please reload this page.
…gerImpl.java Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
…gerImpl.java Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
sureshanaparti
commented
Jun 27, 2024
@blueorangutan package |
blueorangutan
commented
Jun 27, 2024
@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. |
blueorangutan
commented
Jun 27, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10162 |
sureshanaparti
commented
Jun 27, 2024
@blueorangutan test |
blueorangutan
commented
Jun 27, 2024
@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 27, 2024
[SF] Trillian Build Failed (tid-10657) |
JoaoJandre
left a comment
There was a problem hiding this comment.
LGTM, but I think we should change the name to delete.query.batch.size instead of delete.batch.query.size. I did not test it.
Uh oh!
There was an error while loading. Please reload this page.
vishesh92
commented
Jun 27, 2024
@blueorangutan package |
blueorangutan
commented
Jun 27, 2024
@vishesh92 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. |
blueorangutan
commented
Jun 27, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10172 |
sureshanaparti
commented
Jun 27, 2024
@blueorangutan test |
blueorangutan
commented
Jun 27, 2024
@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 28, 2024
[SF] Trillian test result (tid-10664)
|
sureshanaparti
commented
Jun 28, 2024
@blueorangutan LLtest |
blueorangutan
commented
Jun 28, 2024
@sureshanaparti a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
sureshanaparti
commented
Jun 28, 2024
these failures are due to templates listing issue & builtin template deleted during the tests. |
sureshanaparti
commented
Jun 28, 2024
Manually verified the config change. |
…delete of volume_stats in batches (apache#9283) * Change vm.stats.remove.batch.size to delete.batch.query.size * Add support for deletion of volume stats in batches * Update server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> * Update server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> * Update configkey description * Address comments Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
Description
This PR changes
vm.stats.remove.batch.sizeconfiguration parameter todelete.batch.query.sizeto make it more generic.Changes also allow deletion of
volume_statsin batches using thedelete.batch.query.sizeglobal setting.For context, please check the conversation in PR: #8740
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?