-
Notifications
You must be signed in to change notification settings - Fork 898
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
Schedule compliance purging #19264
Schedule compliance purging #19264
Conversation
c316d01
to
9497005
Compare
cda6c5f
to
fe68819
Compare
fe68819
to
51f4a51
Compare
Checked commit d-m-u@51f4a51 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
where(arel_table[:timestamp].lteq(older_than)) | ||
end | ||
|
||
def purge_associated_records(ids) |
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.
TANGENT: I do wonder if we could pass scopes into purge_associated_records
no action required
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.
just the 1 business question
@@ -74,6 +74,10 @@ | |||
:memory_method_description: High Normal Range of Allocated Memory | |||
:failover: | |||
:rule: discovered | |||
:compliances: | |||
:history: | |||
:keep_compliances: 6.months |
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.
@jcarter12 Do you have a suggestion for this value?
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.
response - check with loic
we can merge and backport to 5.8 for the issue that LJ and Jared were looking at yesterday |
@miq-bot add_label changelog/yes |
@d-m-u can this be |
…tever Schedule compliance purging (cherry picked from commit 87935ce) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1767808
Ivanchuk backport details:
|
Compliances should be purged, it's on a
weeklydaily basis just the same as things mentioned in #19264 (comment) but honestly I don't even know anything at all about how often it should happen so feel free to argueFor https://bugzilla.redhat.com/show_bug.cgi?id=1733641 but really it's just up because I want to get people talking about it. @gtanzillo @yrudman @jrafanie maybe @kbrock, I dunno