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 EC2 labels concurrent write bug #13072

Merged
merged 4 commits into from
Jun 1, 2022
Merged

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Jun 1, 2022

This PR fixes a bug in EC2 labels (#12593) involving concurrent writes to the labels map. This is fixed by making EC2.Get() return a copy instead of the actual label map.

@atburke atburke requested a review from greedy52 June 1, 2022 19:24
@atburke atburke enabled auto-merge (squash) June 1, 2022 19:34
@greedy52
Copy link
Contributor

greedy52 commented Jun 1, 2022

thanks!

@atburke atburke merged commit 230692f into master Jun 1, 2022
@atburke atburke deleted the atburke/ec2-concurrent-write branch June 1, 2022 21:26
atburke added a commit that referenced this pull request Jun 1, 2022
This change fixes a bug in EC2 labels (#12593) involving concurrent writes to the labels map. This is fixed by making EC2.Get() return a copy instead of the actual label map.
atburke added a commit that referenced this pull request Jun 1, 2022
This change fixes a bug in EC2 labels (#12593) involving concurrent writes to the labels map. This is fixed by making EC2.Get() return a copy instead of the actual label map.
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants