Skip to content

[8.0] [ML] Parent datafeed actions to the datafeed's persistent task (#81143)#81152

Merged
elasticsearchmachine merged 1 commit intoelastic:8.0from
dimitris-athanasiou:backport/8.0/pr-81143
Nov 30, 2021
Merged

[8.0] [ML] Parent datafeed actions to the datafeed's persistent task (#81143)#81152
elasticsearchmachine merged 1 commit intoelastic:8.0from
dimitris-athanasiou:backport/8.0/pr-81143

Conversation

@dimitris-athanasiou
Copy link
Copy Markdown
Contributor

Backports the following commits to 8.0:

…ic#81143)

The vast majority of a datafeed's actions are executed from the
data extractor. This includes the heaviest actions which are the
searches. This commit passes a `ParentTaskAssigningClient` to
`DataExtractorFactory.create` which ensures the client used by
any extractor will be setting the corresponding task id: the action
task id for preview datafeed and the master operation stage of the
start datafeed action, and the persistent task id for the datafeed
operations after it has started.
@dimitris-athanasiou dimitris-athanasiou added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Nov 30, 2021
@elasticsearchmachine elasticsearchmachine merged commit f4a2da8 into elastic:8.0 Nov 30, 2021
@dimitris-athanasiou dimitris-athanasiou deleted the backport/8.0/pr-81143 branch November 30, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0-rc1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants