Move views into separate files for easier modification#8647
Move views into separate files for easier modification#8647weizhouapache merged 4 commits intoapache:4.19from
Conversation
|
@GutoVeronezi , can you advice if this is all that is needed to put views under the new maintenance regime? I really only want volume_view for now, so is there any reason not to do them all right now? |
engine/schema/src/main/resources/META-INF/db/views/cloud.volume_view.sql
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #8647 +/- ##
============================================
+ Coverage 30.90% 30.93% +0.03%
- Complexity 34189 34224 +35
============================================
Files 5347 5347
Lines 375566 375566
Branches 54625 54625
============================================
+ Hits 116068 116190 +122
+ Misses 244236 244067 -169
- Partials 15262 15309 +47
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@DaanHoogland PR #7417's main purpose was to introduce the concept. The idea was to create the new files as we would change the views; however, there is no problem in creating them right away. |
I know, or better I remember now ;)
In hindsight it might be a bit confusing and lead to review errors . I'll get myself in an agry streak soon and add the rest. |
Indeed |
IMHO, ideally the database upgrade process should be
#7417 has introduced the concept to create views as last step, which is good.
|
so we should add intelligence as to which views have changed
well, this should not be a problem as all views are still there while other upgrades occur. I think it is the programmers responsibility to have their dependencies straight. the first one is a valid consideration but out of scope here I think. |
View structures creating should not be affected by the database size (only running them). They are structures that represent queries; thus, not relying on the amount of data for its creation.
Regarding this one, you can check my comment on PR #7417 (comment), which answers the same question you made. |
good to know it.
Yes, I remember it. |
|
@blueorangutan package |
|
@DaanHoogland 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8650 |
|
@blueorangutan test alma9 kvm-alma9 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9228)
|
|
@blueorangutan test matrix |
|
@DaanHoogland a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9253)
|
|
[SF] Trillian test result (tid-9254)
|
|
[SF] Trillian test result (tid-9255)
|
Fixes cloud.domain_view.sql added in apache#8647 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* volume view in separate file for easier modification * eof * remaining views * lintworm
Description
we moved to a new way of maintaining views (see #7417)
not all views were added in that PR so this pr is intended to do so
EXPECTED RESULTS
ACTUAL RESULTS
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?