Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #11671 to 7.0: Fix template/policy is always overwritten #11672

Merged
merged 3 commits into from
Apr 5, 2019

Conversation

urso
Copy link

@urso urso commented Apr 5, 2019

Cherry-pick of PR #11671 to 7.0 branch. Original message:

The force flag for policy and template overwrites have been set to true
in the standard Elasticsearch callback. Due to this every reconnect will
result in the policy and template being overwritten.

This fix sets the flags to false and ensure that the template is only
overwritten if a new policy is created in Elasticsearch.

urso added 3 commits April 5, 2019 18:06
The force flag for policy and template overwrites have been set to true
in the standard Elasticsearch callback. Due to this every reconnect will
result in the policy and template being overwritten.

This fix sets the flags to false and ensure that the template is only
overwritten if a new policy is created in Elasticsearch.

(cherry picked from commit 0d971ec)
(cherry picked from commit d020570)
(cherry picked from commit 5e00071)
@urso urso requested a review from a team as a code owner April 5, 2019 16:06
@urso urso requested a review from ph April 5, 2019 16:07
@urso urso merged commit aa6953a into elastic:7.0 Apr 5, 2019
@urso urso deleted the backport_11671_7.0 branch May 9, 2019 18:48
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.

2 participants