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 race if two people request a rebuild at once #416

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Dec 16, 2016

We took the mutex too late, so both threads could decide that a rebuild was needed, resulting in two rebuilds running in parallel.

@talex5 talex5 merged commit 514581b into moby:master Dec 16, 2016
@talex5 talex5 deleted the rebuild-race branch December 16, 2016 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant