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 #8851 to 6.x: Keep a mapping of autodiscover instances and deployed configs #9290

Merged
merged 2 commits into from
Dec 10, 2018

Conversation

exekias
Copy link
Contributor

@exekias exekias commented Nov 29, 2018

Cherry-pick of PR #8851 to 6.x branch. Original message:

This changes stop behavior, sometimes not all metadata is available in
the stop event, this results in some configs not being stopped because
of that.

After this change, we only rely on instance id from the event to decide
what configs to delete, as we'll keep a map of instance id -> deployed
configs.

Fixes #8535

…c#8851)

* Keep a mapping of autodiscover instances and deployed configs

This changes stop behavior, sometimes not all metadata is available in
the stop event, this results in some configs not being stopped because
of that.

After this change, we only rely on instance id from the event to decide
what configs to delete, as we'll keep a map of instance id -> deployed
configs.

(cherry picked from commit 571b008)
@exekias exekias requested a review from jsoriano December 7, 2018 13:25
@exekias exekias merged commit 355aca0 into elastic:6.x Dec 10, 2018
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