Skip to content

bgpv2: populate locally available services after performing svc diff #36165

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 26, 2024

Conversation

rastislavs
Copy link
Contributor

@rastislavs rastislavs commented Nov 25, 2024

To prevent potential race during service reconcilation, move populating of locally available services (epDiffStore.List()) after performing service diff reconciliation (epDiffStore.Diff).

Related: #36055

BGPv2: Fix race by reconciliation of services with externalTrafficPolicy=Local by populating locally available services after performing service diff

To prevent potential race during service reconcilation, move
populating of locally available services (epDiffStore.List())
after performing service diff reconciliation (epDiffStore.Diff).

Signed-off-by: Rastislav Szabo <rastislav.szabo@isovalent.com>
@rastislavs rastislavs added release-note/bug This PR fixes an issue in a previous release of Cilium. area/bgp Impacts the Border Gateway Protocol feature. needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Nov 25, 2024
@rastislavs
Copy link
Contributor Author

/test

@rastislavs rastislavs marked this pull request as ready for review November 26, 2024 07:46
@rastislavs rastislavs requested a review from a team as a code owner November 26, 2024 07:46
@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 26, 2024
@julianwiedmann julianwiedmann added this pull request to the merge queue Nov 26, 2024
Merged via the queue into cilium:main with commit 3b6e2b1 Nov 26, 2024
70 checks passed
@nbusseneau nbusseneau mentioned this pull request Dec 1, 2024
8 tasks
@nbusseneau nbusseneau added backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. and removed needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Dec 1, 2024
@github-actions github-actions bot added backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. and removed backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bgp Impacts the Border Gateway Protocol feature. backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants