Skip to content

[7.x] Fix deadloop in case of NP circular dependencies (#47933)#48503

Merged
pgayvallet merged 1 commit intoelastic:7.xfrom
pgayvallet:backport/7.x/pr-47933
Oct 17, 2019
Merged

[7.x] Fix deadloop in case of NP circular dependencies (#47933)#48503
pgayvallet merged 1 commit intoelastic:7.xfrom
pgayvallet:backport/7.x/pr-47933

Conversation

@pgayvallet
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* fix deadloop in case of cyclic dependencies

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* better error message in case of cyclic plugin dependency

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add createPlugin helper for readability

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add more complex test on discover cyclic deps

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* better error message

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
@pgayvallet pgayvallet added the backport This PR is a backport of another PR label Oct 17, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@pgayvallet pgayvallet merged commit fba9b4a into elastic:7.x Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants