Skip to content

service: fix service manager interface mismatch caused by merge race #29018

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

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Nov 7, 2023

Due to a merge race, the SyncWithK8sFinished method of the ServiceManager interface did not match the actual implementation. Let's fix it.

Fixes: 66ba850 ("services: refactor SyncWithK8sFinished to return stale services")
Fixes: cf4279c ("services: don't wait for clustermesh to delete local stale backends")

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 7, 2023
@giorio94 giorio94 added release-note/misc This PR makes changes that have no direct user impact. area/loadbalancing Impacts load-balancing and Kubernetes service implementations labels Nov 7, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Nov 7, 2023
@giorio94 giorio94 marked this pull request as ready for review November 7, 2023 08:47
@giorio94 giorio94 requested a review from a team as a code owner November 7, 2023 08:47
@giorio94 giorio94 requested a review from ysksuzuki November 7, 2023 08:47
@giorio94
Copy link
Member Author

giorio94 commented Nov 7, 2023

/test

Due to a merge race, the SyncWithK8sFinished method of the ServiceManager
interface did not match the actual implementation. Let's fix it.

Fixes: 66ba850 ("services: refactor SyncWithK8sFinished to return stale services")
Fixes: cf4279c ("services: don't wait for clustermesh to delete local stale backends")
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 force-pushed the mio/fix-services-merge-race branch from 2e4efbb to cf7cc37 Compare November 7, 2023 08:50
@giorio94 giorio94 changed the title service: fix incorrect service manager interface caused by merge race service: fix service manager interface mismatch caused by merge race Nov 7, 2023
@giorio94
Copy link
Member Author

giorio94 commented Nov 7, 2023

/test

@giorio94 giorio94 removed the request for review from ysksuzuki November 7, 2023 08:53
@gandro
Copy link
Member

gandro commented Nov 7, 2023

Build (which was previously broken) is green again, let's merge to unblock main without waiting on CI to finish

@gandro gandro merged commit 18879b5 into cilium:main Nov 7, 2023
@giorio94 giorio94 deleted the mio/fix-services-merge-race branch November 7, 2023 09:34
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/loadbalancing Impacts load-balancing and Kubernetes service implementations ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants