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

DATA RACE in network.go and store.go #2644

Closed
Vanient opened this issue Aug 31, 2021 · 1 comment
Closed

DATA RACE in network.go and store.go #2644

Vanient opened this issue Aug 31, 2021 · 1 comment

Comments

@Vanient
Copy link

Vanient commented Aug 31, 2021

Hi all~

when i use TSAN to test docker,data race found in libnetwork store.go:148 and network.go:1165
when n.ctrlr is written in getNetworksFromStore()
image
it is read by CreateEndpoint()
image

is anybody has good idea to fix it?
Thanks~

@Vanient Vanient changed the title DATA RACE DATA RACE in network.go and store.go Aug 31, 2021
@akerouanton
Copy link
Member

Thanks for reporting!

Note that the code in this repo has been moved to https://github.com/moby/moby/tree/master/libnetwork. This repo is effectively defunct, and not actively watched by maintainers.

Also, this code migh have changed in the last three years, and we're aware that there are races in some of our 'business logic' (although this one seems to be more like a 'technical race').

As such, let me close this issue.

@akerouanton akerouanton closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
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

No branches or pull requests

2 participants