Skip to content

[manager/dispatcher] Fix deadlock in dispatcher shutdown#2742

Closed
anshulpundir wants to merge 1 commit into
moby:masterfrom
anshulpundir:dispatch
Closed

[manager/dispatcher] Fix deadlock in dispatcher shutdown#2742
anshulpundir wants to merge 1 commit into
moby:masterfrom
anshulpundir:dispatch

Conversation

@anshulpundir
Copy link
Copy Markdown
Contributor

@anshulpundir anshulpundir commented Sep 7, 2018

Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 7, 2018

Codecov Report

Merging #2742 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2742      +/-   ##
==========================================
- Coverage   61.77%   61.75%   -0.02%     
==========================================
  Files         134      134              
  Lines       21888    21888              
==========================================
- Hits        13522    13518       -4     
+ Misses       6903     6900       -3     
- Partials     1463     1470       +7

@dperny
Copy link
Copy Markdown
Collaborator

dperny commented Sep 10, 2018

I was working on a test for this deadlock case, but it turns out that it's very non-trivial to elicit, and I don't think a test is possible.

Here is my branch. I added a better explanation of some of the moving parts to the comments, and the commit message better explains what the cause of this deadlock is:

master...dperny:fix-dispatcher-deadlock

@anshulpundir
Copy link
Copy Markdown
Contributor Author

addressed by #2744

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

Successfully merging this pull request may close these issues.

2 participants