Skip to content
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

[ML] Use results retention time for deleting system annotations #76113

Conversation

droberts195
Copy link
Contributor

In #75617 a new setting, system_annotations_retention_days, was
added to control how long system annotations are retained for.
We now feel that this setting is redundant and that system
annotations should be retained for the same period as results.
This is intuitive and defensible, as system annotations can be
considered a type of result.

Backport of #76096

In elastic#75617 a new setting, system_annotations_retention_days, was
added to control how long system annotations are retained for.
We now feel that this setting is redundant and that system
annotations should be retained for the same period as results.
This is intuitive and defensible, as system annotations can be
considered a type of result.

Backport of elastic#76096
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request Aug 4, 2021
Remove the last bits of code after the backport PR (elastic#76113)
is merged.

Followup to elastic#76096
@benwtrent benwtrent added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Aug 4, 2021
@elasticsearchmachine elasticsearchmachine merged commit c70ba3c into elastic:7.x Aug 4, 2021
@droberts195 droberts195 deleted the use_results_retention_for_annotations_7x branch August 4, 2021 17:57
elasticsearchmachine pushed a commit that referenced this pull request Aug 4, 2021
* [ML] Removing last traces of system_annotations_retention_days

Remove the last bits of code after the backport PR (#76113)
is merged.

Followup to #76096

* unmute bwc tests

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Benjamin Trent <[email protected]>
Copy link
Contributor

@przemekwitek przemekwitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants