Skip to content

Conversation

@jbaiera
Copy link
Member

@jbaiera jbaiera commented Nov 14, 2019

The cluster state is obtained twice in the EnrichPolicyRunner when updating
the final alias. There is a possibility for the state to be slightly different
between those two calls. This PR just has the function get the cluster state
once and reuse it for the life of the function call.

Backports #48488

The cluster state is obtained twice in the EnrichPolicyRunner when updating 
the final alias. There is a possibility for the state to be slightly different 
between those two calls. This PR just has the function get the cluster state 
once and reuse it for the life of the function call.
@jbaiera jbaiera merged commit 6bb6adb into elastic:7.x Nov 14, 2019
@jbaiera jbaiera deleted the backport-7.x-48488 branch November 14, 2019 19:14
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.

1 participant