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): avoid concurrent access on resource meta #11997

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

lahabana
Copy link
Contributor

@lahabana lahabana commented Nov 8, 2024

Motivation

There were some places where labels on meta weren't not cloned when duplicating the meta.

Implementation information

Walked the code for odd usages of GetLabels().

Supporting documentation

xref #11886

There were some places where labels on meta weren't not
cloned when duplicating the meta.

Signed-off-by: Charly Molter <[email protected]>
@lahabana lahabana requested a review from a team as a code owner November 8, 2024 12:03
@lahabana lahabana requested review from bartsmykla and Icarus9913 and removed request for a team November 8, 2024 12:03
Signed-off-by: Mike Beaumont <[email protected]>
@michaelbeaumont
Copy link
Contributor

@lobkovilya maybe also interesting for you

@michaelbeaumont michaelbeaumont merged commit c3d7187 into kumahq:master Nov 12, 2024
13 checks passed
Copy link
Contributor

github-actions bot commented Nov 12, 2024

backporting to release-2.7 with action

backporting to release-2.5 with action

Copy link
Contributor

backporting to release-2.6 with action

Copy link
Contributor

backporting to release-2.8 with action

kumahq bot pushed a commit that referenced this pull request Nov 12, 2024
There were some places where labels on meta weren't not cloned when
duplicating the meta. Walked the code for odd usages of `GetLabels()`.

See also #11886

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
kumahq bot pushed a commit that referenced this pull request Nov 12, 2024
There were some places where labels on meta weren't not cloned when
duplicating the meta. Walked the code for odd usages of `GetLabels()`.

See also #11886

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
kumahq bot pushed a commit that referenced this pull request Nov 12, 2024
There were some places where labels on meta weren't not cloned when
duplicating the meta. Walked the code for odd usages of `GetLabels()`.

See also #11886

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
kumahq bot pushed a commit that referenced this pull request Nov 12, 2024
There were some places where labels on meta weren't not cloned when
duplicating the meta. Walked the code for odd usages of `GetLabels()`.

See also #11886

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
kumahq bot pushed a commit that referenced this pull request Nov 12, 2024
There were some places where labels on meta weren't not cloned when
duplicating the meta. Walked the code for odd usages of `GetLabels()`.

See also #11886

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
michaelbeaumont added a commit that referenced this pull request Nov 12, 2024
…11997) (#12024)

Automatic cherry-pick of #11997 for branch release-2.9

Generated by
[action](https://github.com/kumahq/kuma/actions/runs/11796491720)

cherry-picked commit c3d7187

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
michaelbeaumont added a commit that referenced this pull request Nov 12, 2024
…11997) (#12023)

Automatic cherry-pick of #11997 for branch release-2.7

Generated by
[action](https://github.com/kumahq/kuma/actions/runs/11796491720)

cherry-picked commit c3d7187

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
michaelbeaumont added a commit that referenced this pull request Nov 12, 2024
…11997) (#12022)

Automatic cherry-pick of #11997 for branch release-2.8

Generated by
[action](https://github.com/kumahq/kuma/actions/runs/11796491720)

cherry-picked commit c3d7187

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
michaelbeaumont added a commit that referenced this pull request Nov 13, 2024
…11997) (#12021)

Automatic cherry-pick of #11997 for branch release-2.6

Generated by
[action](https://github.com/kumahq/kuma/actions/runs/11796491720)

Signed-off-by: Charly Molter <[email protected]>
Signed-off-by: Mike Beaumont <[email protected]>
Co-authored-by: Charly Molter <[email protected]>
Co-authored-by: Mike Beaumont <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants