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

[FIXED] Possible panic on WaitGroup.Wait() #268

Merged
merged 1 commit into from
Mar 7, 2017
Merged

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Mar 6, 2017

There have been 2 reports in the last 10 months of this happening
once each. We have not been able to reproduce the issue. However,
this code change should eliminate the possibility of code going
into a Wait() while in parallel doing an Add() (for the same group).
There is no new test since we have multiple tests that check for
reconnect and we have not been able to reproduce. A long running
test causing 100,000 server restarts at random interval has been
running on original code without producing the panic.

Attempt to resolve #192

There have been 2 reports in the last 10 months of this happening
once each. We have not been able to reproduce the issue. However,
this code change should eliminate the possibility of code going
into a Wait() while in parallel doing an Add() (for the same group).
There is no new test since we have multiple tests that check for
reconnect and we have not been able to reproduce. A long running
test causing 100,000 server restarts at randome interval has been
running on *original code* without producing the panic.

Attempt to resolve #192
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 95.128% when pulling e163aef on fix_issue_192 into 0c2f276 on master.

@ColinSullivan1
Copy link
Member

LGTM.

@derekcollison derekcollison merged commit 399fe00 into master Mar 7, 2017
@derekcollison derekcollison deleted the fix_issue_192 branch March 7, 2017 17:17
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.

Panic when publishing
4 participants