-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
16 data races #6595
Comments
Most of these are libp2p/go-libp2p#257. The MDNS library has races. However, the address race is new (and luckily not in 0.4.22): libp2p/go-libp2p-swarm#136. |
@Stebalien here is the fix whyrusleeping/mdns#5 |
@kpp. I've merged the changes into go-ipfs master. Mind testing? |
Which branch? |
Master. |
Wait, nevermind. I haven't merged it yet 🙄. |
Ok, now it has been merged. |
Fixed. |
Awesome! Thanks making this happen! |
The question is: did I fix mdns data races without affecting the logic? You will have make integration tests ;) |
Unfortunately, reliable mdns integration tests require some form of fake network. That will have to wait for some of our test network work. :(. |
Version information:
go-ipfs version: 0.5.0-dev-d61269f41
Repo version: 7
System version: amd64/linux
Golang version: go1.12.8
Howto build
Run
./cmd/ipfs/ipfs daemon 2> data_races.txt
Description:
I got 16 data races from
ipfs daemon
while runningipfs cat ...
data_races.txt
The text was updated successfully, but these errors were encountered: