-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[ML] Manage AD results indices #136065
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
Merged
Merged
[ML] Manage AD results indices #136065
Changes from 57 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
9ff0b94
[ML] 8Manage rollover of AD results indices
edsavage 78d0d8e
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 0ec99b6
Spotless Apply
edsavage 8405ff3
Spotless Apply
edsavage d10d09d
Bit of a tidy up
edsavage dfb1939
Slight refactor
edsavage ffc2842
Another tidy
edsavage 9863169
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 8f17540
Remove unused accessor
edsavage d60a811
Update docs/changelog/136065.yaml
edsavage 2729a86
Merge branch 'main' into manage_ad_results_indices
edsavage c5f58e1
[CI] Auto commit changes from spotless
7b6caf0
Address some test failures
edsavage 52ab642
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage 66d7268
Typos
edsavage f9296fd
[CI] Auto commit changes from spotless
07ddbaa
Make the max results index size for rollover user configurable.
edsavage e7eb106
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage cb85a49
Fix bad merge
edsavage 123c8cb
[CI] Auto commit changes from spotless
1a5d0da
Merge branch 'main' into manage_ad_results_indices
edsavage c54a354
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 80b1b71
Test fixes
edsavage 84ad33d
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage 2a66d40
Remove assertion for condition that is no longer entirely true
edsavage 83e7e2b
A few more test fixes
edsavage e9c0c2c
Fixed typo in docs
edsavage 0b6b79a
Tweaks to yamlRestCompatTests
edsavage 97106a1
A few more test fixes
edsavage 468f712
Another test fix through rewrite rules
edsavage 96cecaf
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 63f97c5
Another REST compatibility test transformation
edsavage 8050133
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage c320ccc
First draft of integration tests
edsavage 8e22944
2nd draft of integration test
edsavage 644c57f
spotless fixes
edsavage 0532c8b
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 5465b24
[CI] Auto commit changes from spotless
42e63c9
spotless fixes
edsavage 5e7a9da
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage 16cb2d1
Fix broken test case
edsavage 7abf680
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage b5513a2
Tidy up
edsavage 29faf9e
Add more test scenarios
edsavage 77ab9df
[CI] Auto commit changes from spotless
8bf9e6f
Merge branch 'main' into manage_ad_results_indices
edsavage f9f6881
Merge branch 'main' into manage_ad_results_indices
edsavage cd9b467
Refactor integration tests
edsavage fe2c12d
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage 326eedd
Attend to code review comments
edsavage 21ea400
Remove unneeded variable
edsavage f90e4b8
[CI] Auto commit changes from spotless
5d06353
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 988eeeb
Merge remote-tracking branch 'origin/manage_ad_results_indices' into …
edsavage 000e1b3
Bugfix and typo
edsavage cc157c8
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage 58540ae
More tests and fixes
edsavage 74d92ae
* Clarified documentation regarding results_index_rollover_max_size
edsavage 0c2fbe9
Merge branch 'main' of github.com:elasticsearch/elasticsearch into ma…
edsavage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 136065 | ||
| summary: Nightly maintenance for anomaly detection results indices to keep to manageable size. | ||
| area: Machine Learning | ||
| type: enhancement | ||
| issues: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back 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.
What does this mean? And how can you turn off the rollover?
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.
It means that regardless of size of the results indices, they will always be rolled over. I can update the docs to be more specific about this and/or we can choose a more suitable minimum value for
xpack.ml.results_index_rollover_max_sizeCurrently no, rollover can't be turned off. I think it should be able to be though, I'll add that change.