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

Revert "[manager/dispatcher] Synchronize Dispatcher.Stop() with incoming rpcs." #2518

Merged
merged 1 commit into from
Feb 20, 2018

Conversation

anshulpundir
Copy link
Contributor

@anshulpundir anshulpundir commented Feb 20, 2018

This reverts commit 0b2778a.

Need to revert since waitgroup Add() and Wait() itself need intricate synchronization and are not atomic. Will implement another way, likely a RWLock as @fcrisciani originally suggested.

…ing rpcs."

This reverts commit 0b2778a.

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

dperny commented Feb 20, 2018

LGTM.

@fcrisciani
Copy link

LGTM

@codecov
Copy link

codecov bot commented Feb 20, 2018

Codecov Report

Merging #2518 into master will increase coverage by 0.04%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##           master    #2518      +/-   ##
==========================================
+ Coverage   61.38%   61.42%   +0.04%     
==========================================
  Files         133      133              
  Lines       21720    21710      -10     
==========================================
+ Hits        13332    13335       +3     
+ Misses       6953     6928      -25     
- Partials     1435     1447      +12

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.

4 participants