Skip to content

[release-1.15] Fix ProxyConfig merge impacting shared state#40518

Merged
istio-testing merged 1 commit intoistio:release-1.15from
istio-testing:cherry-pick-40494-to-release-1.15
Aug 17, 2022
Merged

[release-1.15] Fix ProxyConfig merge impacting shared state#40518
istio-testing merged 1 commit intoistio:release-1.15from
istio-testing:cherry-pick-40494-to-release-1.15

Conversation

@istio-testing
Copy link
Copy Markdown
Collaborator

This is an automated cherry-pick of #40494

The issue was we were overriding things by setting them to pointers.
These pointers are then shared, and when `proto.merge` is used they are
all mutated.

Instead, take deepcopies and add a test
@istio-testing istio-testing requested a review from a team August 17, 2022 15:39
@istio-testing istio-testing added the release-notes-none Indicates a PR that does not require release notes. label Aug 17, 2022
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 17, 2022
@istio-testing istio-testing merged commit e2982f2 into istio:release-1.15 Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes-none Indicates a PR that does not require release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants