Skip to content

[ML] Introduce a "starting" datafeed state for lazy jobs#54065

Merged
droberts195 merged 2 commits intoelastic:7.xfrom
droberts195:fix_lazy_start_datafeeds_7x
Mar 24, 2020
Merged

[ML] Introduce a "starting" datafeed state for lazy jobs#54065
droberts195 merged 2 commits intoelastic:7.xfrom
droberts195:fix_lazy_start_datafeeds_7x

Conversation

@droberts195
Copy link
Copy Markdown

It is possible for ML jobs to open lazily if the "allow_lazy_open"
option in the job config is set to true. Such jobs wait in the
"opening" state until a node has sufficient capacity to run them.

This commit fixes the bug that prevented datafeeds for jobs lazily
waiting assignment from being started. The state of such datafeeds
is "starting", and they can be stopped by the stop datafeed API
while in this state with or without force.

Backport of #53918

It is possible for ML jobs to open lazily if the "allow_lazy_open"
option in the job config is set to true.  Such jobs wait in the
"opening" state until a node has sufficient capacity to run them.

This commit fixes the bug that prevented datafeeds for jobs lazily
waiting assignment from being started.  The state of such datafeeds
is "starting", and they can be stopped by the stop datafeed API
while in this state with or without force.

Backport of elastic#53918
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (:ml)

@droberts195 droberts195 merged commit 1421471 into elastic:7.x Mar 24, 2020
@droberts195 droberts195 deleted the fix_lazy_start_datafeeds_7x branch March 24, 2020 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants