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 races in the log module by using syncmap #1421

Merged
merged 1 commit into from
Apr 3, 2017

Conversation

typeless
Copy link
Contributor

Use syncmap instead of map + mutex locks.

Fix #1412

@lunny lunny added this to the 1.2.0 milestone Mar 31, 2017
@lunny lunny added the type/bug label Mar 31, 2017
@strk
Copy link
Member

strk commented Mar 31, 2017

Trusted LGTM (and let's see what the Debian packager has to say about the new dependency)

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 31, 2017
@MTecknology
Copy link
Contributor

I imagine the vim swap file was an oops but otherwise think this looks like a clean and sane dependency that could be valuable for many other projects as well.

@tboerger
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 31, 2017
@typeless
Copy link
Contributor Author

@MTecknology Fixed.

@strk
Copy link
Member

strk commented Apr 1, 2017

@typeless may I suggest to squash-rebase this on your side to avoid the git log bloat introduced by the github "squash-and-merge" button ?

@typeless
Copy link
Contributor Author

typeless commented Apr 1, 2017

@strk Done.

@appleboy appleboy merged commit 93c25c9 into go-gitea:master Apr 3, 2017
@typeless typeless deleted the fix-races-by-using-syncmap branch April 3, 2019 05:00
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when the race detector is enabled
6 participants