Skip to content

bgp: Fix metadata update in ServiceReconciler#45049

Merged
YutaroHayakawa merged 1 commit intocilium:mainfrom
rastislavs:bgp-svc-meta-fix
Mar 30, 2026
Merged

bgp: Fix metadata update in ServiceReconciler#45049
YutaroHayakawa merged 1 commit intocilium:mainfrom
rastislavs:bgp-svc-meta-fix

Conversation

@rastislavs
Copy link
Copy Markdown
Contributor

Update metadata only after successful reconciliation, to avoid races upon reconciliation retry.

Without this change, we could attempt a diff reconciliation as part of a retry for a full reconciliation, which could cause missing advertisements.

bgp: Fix potential race in service advertisements upon error retry

Update metadata only after successful reconciliation,
to avoid races upon reconciliation retry.

Without this change, we could attempt a diff reconciliation
as part of a retry for a full reconciliation, which could
cause missing advertisements.

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.19 This PR / issue needs backporting to the v1.19 branch labels Mar 30, 2026
@rastislavs
Copy link
Copy Markdown
Contributor Author

/test

@rastislavs rastislavs marked this pull request as ready for review March 30, 2026 10:37
@rastislavs rastislavs requested a review from a team as a code owner March 30, 2026 10:37
@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 Mar 30, 2026
@YutaroHayakawa YutaroHayakawa added this pull request to the merge queue Mar 30, 2026
Merged via the queue into cilium:main with commit a49f566 Mar 30, 2026
83 of 89 checks passed
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. needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch 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.

3 participants