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

fix(clustering) do not export plugins on a route attached to a disabled service #8816

Merged
merged 7 commits into from
Jun 6, 2022

Conversation

ms2008
Copy link
Contributor

@ms2008 ms2008 commented May 19, 2022

Summary

This PR fix for a new DP get zero size config while service with plugin-enabled route is disabled.

The primary reason for this is CP does not totally filtering the exported config so when running in hybrid mode, DPs are sent disabled services and the routes/plugins associated with them.

FTI-4009 FTI-4040

@ms2008 ms2008 requested a review from a team as a code owner May 19, 2022 08:32
@bungle bungle changed the title fix(clustering) do not export plugins and routes of dsiabled services fix(clustering) do not export plugins and routes of disabled services May 19, 2022
@ms2008 ms2008 requested a review from bungle May 19, 2022 10:43
Copy link
Contributor

@locao locao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change I suggested in the test is not too difficult to add and will help us to not increase the CI executing time.

@ms2008 ms2008 requested a review from locao May 20, 2022 03:50
@ms2008 ms2008 changed the title fix(clustering) do not export plugins and routes of disabled services fix(clustering) do not export plugins on a route attached to a disabled service May 31, 2022
@locao
Copy link
Contributor

locao commented May 31, 2022

The new test failed, is it consistent failing or is it flaky?

locao
locao previously requested changes May 31, 2022
kong/db/declarative/init.lua Outdated Show resolved Hide resolved
@bungle bungle merged commit e4fde79 into master Jun 6, 2022
@bungle bungle deleted the fix/hybrid-service-disabled branch June 6, 2022 09: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.

4 participants