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(kuma-cp): put metadata xds callbacks before sync #7230

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

lobkovilya
Copy link
Contributor

@lobkovilya lobkovilya commented Jul 13, 2023

For OnStreamOpen, they're run in this order and OnStreamClosed, in the reverse. We want to have metadata before syncing and want to delete metadata after syncing so this order makes sense.

Checklist prior to review

  • Link to relevant issue as well as docs and UI issues --
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
@lobkovilya lobkovilya added the ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully) label Jul 13, 2023
@michaelbeaumont michaelbeaumont changed the title fix(kuma-cp): change XDS callbacks order fix(kuma-cp): put metadata callbacks before sync Jul 13, 2023
@michaelbeaumont michaelbeaumont changed the title fix(kuma-cp): put metadata callbacks before sync fix(kuma-cp): put metadata xds callbacks before sync Jul 13, 2023
@lobkovilya lobkovilya marked this pull request as ready for review July 13, 2023 13:45
@lobkovilya lobkovilya requested a review from a team as a code owner July 13, 2023 13:45
@lobkovilya lobkovilya requested review from Automaat and lukidzi and removed request for a team July 13, 2023 13:45
@lobkovilya lobkovilya merged commit 91e9f2f into kumahq:master Jul 13, 2023
@lobkovilya lobkovilya deleted the fix/change-xds-callbacks-order branch July 13, 2023 13:45
@github-actions
Copy link
Contributor

github-actions bot commented Jul 13, 2023

backporting to release-2.3 with action

backporting to release-1.8 with action
backporting to release-2.1 with action
backporting to release-2.0 with action

@github-actions
Copy link
Contributor

backporting to release-2.2 with action

kumahq bot pushed a commit that referenced this pull request Jul 13, 2023
fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
kumahq bot pushed a commit that referenced this pull request Jul 13, 2023
fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
kumahq bot pushed a commit that referenced this pull request Jul 13, 2023
fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
kumahq bot pushed a commit that referenced this pull request Jul 13, 2023
fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
kumahq bot pushed a commit that referenced this pull request Jul 13, 2023
fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
michaelbeaumont pushed a commit that referenced this pull request Jul 13, 2023
…) (#7247)

fix(kuma-cp): put metadata xds callbacks before sync (#7230)

fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
michaelbeaumont pushed a commit that referenced this pull request Jul 13, 2023
…) (#7245)

fix(kuma-cp): put metadata xds callbacks before sync (#7230)

fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
michaelbeaumont pushed a commit that referenced this pull request Jul 13, 2023
…) (#7244)

fix(kuma-cp): put metadata xds callbacks before sync (#7230)

fix(kuma-cp): change XDS callbacks order

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci/run-full-matrix PR: Runs all possible e2e test combination (expensive use carefully)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants