mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
[ML-DataFrame] Combine task_state and indexer_state in _stats (#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 Closes #45201
This commit is contained in:
parent
3db72ba49e
commit
65b502079a
31 changed files with 301 additions and 300 deletions
|
@ -48,9 +48,8 @@ The returned +{response}+ contains the requested {dataframe-transform} statistic
|
|||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
<1> The response contains a list of `DataFrameTransformStats` objects
|
||||
<2> The running state of the transform task e.g `started`
|
||||
<3> The running state of the transform indexer e.g `started`, `indexing`, etc.
|
||||
<4> The overall transform statistics recording the number of documents indexed etc.
|
||||
<5> The progress of the current run in the transform. Supplies the number of docs left until the next checkpoint
|
||||
<2> The running state of the transform, for example `started`, `indexing`, etc.
|
||||
<3> The overall transform statistics recording the number of documents indexed etc.
|
||||
<4> The progress of the current run in the transform. Supplies the number of docs left until the next checkpoint
|
||||
and the total number of docs expected.
|
||||
<6> The assigned node information if the task is currently assigned to a node and running.
|
||||
<5> The assigned node information if the task is currently assigned to a node and running.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue