-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Move views into separate files for easier modification #8647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
weizhouapache
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
|
@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)
|
yadvr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactoring makes sense
|
@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?