Skip to content

[ML] Return assigned node in start/open job/datafeed response#55570

Merged
droberts195 merged 1 commit intoelastic:7.xfrom
droberts195:add_node_to_start_open_response_7x
Apr 22, 2020
Merged

[ML] Return assigned node in start/open job/datafeed response#55570
droberts195 merged 1 commit intoelastic:7.xfrom
droberts195:add_node_to_start_open_response_7x

Conversation

@droberts195
Copy link
Copy Markdown

Adds a "node" field to the response from the following endpoints:

  1. Open anomaly detection job
  2. Start datafeed
  3. Start data frame analytics job

If the job or datafeed is assigned to a node immediately then
this field will return the ID of that node.

In the case where a job or datafeed is opened or started lazily
the node field will contain an empty string. Clients that want
to test whether a job or datafeed was opened or started lazily
can therefore check for this.

Backport of #55473

Adds a "node" field to the response from the following endpoints:

1. Open anomaly detection job
2. Start datafeed
3. Start data frame analytics job

If the job or datafeed is assigned to a node immediately then
this field will return the ID of that node.

In the case where a job or datafeed is opened or started lazily
the node field will contain an empty string.  Clients that want
to test whether a job or datafeed was opened or started lazily
can therefore check for this.

Backport of elastic#55473
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request Apr 22, 2020
Once elastic#55570 is merged the master branch BWC code is no longer needed.

Relates elastic#55473
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request Apr 22, 2020
This is to allow elastic#55570
to be merged to 7.x without breaking all the master branch BWC tests.
droberts195 added a commit that referenced this pull request Apr 22, 2020
This is to allow #55570
to be merged to 7.x without breaking all the master branch BWC tests.
@droberts195 droberts195 merged commit da5aeb8 into elastic:7.x Apr 22, 2020
@droberts195 droberts195 deleted the add_node_to_start_open_response_7x branch April 22, 2020 11:07
droberts195 added a commit that referenced this pull request Apr 22, 2020
…55573)

Once #55570 is merged the master branch BWC code is no longer needed.

Relates #55473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant