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

internal/globalconfig: wrong mutex type acquired for SetServiceName #658

Closed
vikpattabi opened this issue May 9, 2020 · 5 comments · Fixed by #659
Closed

internal/globalconfig: wrong mutex type acquired for SetServiceName #658

vikpattabi opened this issue May 9, 2020 · 5 comments · Fixed by #659
Labels
bug unintended behavior that has to be fixed
Milestone

Comments

@vikpattabi
Copy link
Contributor

vikpattabi commented May 9, 2020

I would expect the SetServiceName function should acquire a write mutex in the above line. Happy to submit a PR for this if this seems reasonable.

@gbbr
Copy link
Contributor

gbbr commented May 11, 2020

You're right, thanks for catching this!

@gbbr gbbr added the bug unintended behavior that has to be fixed label May 11, 2020
@gbbr gbbr changed the title globalconfig.go: wrong mutex type acquired for SetServiceName internal/globalconfig: wrong mutex type acquired for SetServiceName May 11, 2020
@vikpattabi
Copy link
Contributor Author

Yup, absolutely! Looks like I might need some permission to put up a PR to fix?

@gbbr
Copy link
Contributor

gbbr commented May 11, 2020

No permissions needed, just fork the repository and open a PR.

@gbbr gbbr added this to the 1.24.0 milestone May 11, 2020
@vikpattabi
Copy link
Contributor Author

PR here: #659

@knusbaum
Copy link
Contributor

knusbaum commented May 11, 2020

This is fixed in 1.24.0-rc.4 and 1.23.3

Thanks again, @vikpattabi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behavior that has to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants