-
Notifications
You must be signed in to change notification settings - Fork 25k
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] retry bulk indexing of state docs #50149
[ML] retry bulk indexing of state docs #50149
Conversation
Pinging @elastic/ml-core (:ml) |
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.
LGTM
One nit is that ResultsPersisterService
is a general class now used for state as well as results now, it doesn't know anything about anomaly detector results classes. Maybe it is just a PersistenceService
or RetryPersistenceService
This exchanges the direct use of the `Client` for `ResultsPersisterService`. State doc persistence will now retry. Failures to persist state will still not throw, but will be audited and logged.
@dimitris-athanasiou in case you didn't notice, this PR also covers retries for indexing data frame analytics state, as the state is persisted by the same |
This exchanges the direct use of the `Client` for `ResultsPersisterService`. State doc persistence will now retry. Failures to persist state will still not throw, but will be audited and logged.
This exchanges the direct use of the
Client
forResultsPersisterService
. State doc persistence will now retry. Failures to persist state will still not throw, but will be audited and logged.closes #50143