Skip to content

chore: "fix: prevent data race when mutating tags (#11200)" #11216

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
Dec 14, 2023

Conversation

sreya
Copy link
Collaborator

@sreya sreya commented Dec 14, 2023

This reverts commit 82f7b0c.

This was kind of a lazy fix for a data race. @spikecurtis properly fixed it in dbmem so this is unnecessary. Also TIL about maps.Clone.

I still think that this function signature should either not return a map if it's going to mutate the provided one or we should return a copy to make it less ambiguous about what's happening.

@sreya sreya requested a review from spikecurtis December 14, 2023 18:26
@sreya sreya changed the title Revert "fix: prevent data race when mutating tags (#11200)" chore: "fix: prevent data race when mutating tags (#11200)" Dec 14, 2023
@sreya sreya merged commit 06394a5 into main Dec 14, 2023
@sreya sreya deleted the jon/revertflakefix branch December 14, 2023 18:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants