Skip to content

Conversation

@joegallo
Copy link
Contributor

@joegallo joegallo commented Jan 24, 2023

Related to #81244

This PR hollows out the body of innerExecute by extracting some methods from it (and updating it to call those methods).

There's no real change in behavior here, I tried to keep this a 1-to-1 in terms of the before and after. The closest thing there is to a change is that the getDynamicTemplates / setDynamicTemplates block is executed slightly earlier than before, since it moves into the body of updateIndexRequestMetadata, but I don't think that affects anything else.

This PR is a prelude to a follow up PR which will rework these new functions to be called outside of innerExecute, but I'm hoping to keep the overall effort more reviewable by keeping this PR to just the "pull out some new methods" part of the work.

@joegallo joegallo added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.7.0 labels Jan 24, 2023
@joegallo joegallo requested a review from masseyke January 24, 2023 21:17
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Member

@masseyke masseyke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming CI is happy

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

Labels

:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants