Skip to content

[ML-DataFrame] Combine task_state and indexer_state in _stats #45324

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

Conversation

droberts195
Copy link
Contributor

@droberts195 droberts195 commented Aug 8, 2019

This commit replaces task_state and indexer_state in the
data frame _stats output with a single top level state
that combines the two. It is defined as:

  • failed if what's currently reported as task_state is failed
  • stopped if there is no persistent task
  • Otherwise what's currently reported as indexer_state

Backport of #45276

This commit replaces task_state and indexer_state in the
data frame _stats output with a single top level state
that combines the two. It is defined as:

- failed if what's currently reported as task_state is failed
- stopped if there is no persistent task
- Otherwise what's currently reported as indexer_state

Backport of elastic#45276
@droberts195 droberts195 added :ml Machine learning backport labels Aug 8, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@droberts195
Copy link
Contributor Author

Jenkins run elasticsearch-ci/bwc

@droberts195 droberts195 merged commit 14545f8 into elastic:7.x Aug 8, 2019
@droberts195 droberts195 deleted the combine_task_stats_and_indexer_stats_7x branch August 8, 2019 15:24
droberts195 added a commit that referenced this pull request Aug 8, 2019
This change adjusts the changes of #45276 to account
for the backport to the 7.x branch in #45324.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :ml Machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants