Skip to content

[7.x] Reduce the number of times that LifecycleExecutionState is parsed when running a policy. (#77863)#77882

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
martijnvg:backport/7.x/pr-77863
Sep 16, 2021
Merged

[7.x] Reduce the number of times that LifecycleExecutionState is parsed when running a policy. (#77863)#77882
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
martijnvg:backport/7.x/pr-77863

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

…hen running a policy. (elastic#77863)

Sometimes the parsing done by `getCurrentStep()` method is unnecessary, because the
method calling the `getCurrentStep()` method has already parsed a `LifecycleExecutionState`
instance and can just provide that.

Relates to elastic#77466
@martijnvg martijnvg added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Sep 16, 2021
@elasticsearchmachine elasticsearchmachine merged commit 0659dda into elastic:7.x Sep 16, 2021
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 v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants