-
Notifications
You must be signed in to change notification settings - Fork 43
RHINENG-21214: do not omit stale systems in migration #2041
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
|
Referenced Jiras: |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis migration update changes the data backfill logic to include stale systems when populating the new tables from system_platform, ensuring consistency with dependent tables and deferring removal of stale records to the culling process. Entity relationship diagram for including stale systems in migrationerDiagram
system_platform {
int id
boolean stale
timestamp stale_timestamp
timestamp stale_warning_timestamp
timestamp culled_timestamp
int template_id
int applicable_advisory_bug_count_cache
int applicable_advisory_sec_count_cache
}
system_inventory {
int id
timestamp stale_timestamp
timestamp stale_warning_timestamp
timestamp culled_timestamp
}
system_patch {
int id
int template_id
int applicable_advisory_bug_count_cache
int applicable_advisory_sec_count_cache
}
system_platform ||--o{ system_inventory : migrated_into
system_platform ||--o{ system_patch : migrated_into
%% Stale records are now also migrated; culling will later remove them
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This caused inconsistencies in dependant tables and culling will take care of proper removal later.
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2041 +/- ##
=======================================
Coverage 59.39% 59.39%
=======================================
Files 134 134
Lines 8678 8678
=======================================
Hits 5154 5154
Misses 2977 2977
Partials 547 547
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:
|
This caused inconsistencies in dependant tables and culling will take care of proper removal later.
Secure Coding Practices Checklist GitHub Link
Secure Coding Checklist
Summary by Sourcery
Bug Fixes: