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

Adds a check of the stopCh to break out of the replicateTo() loop if needed. #118

Merged
merged 1 commit into from
Apr 13, 2016

Conversation

slackpad
Copy link
Contributor

This addresses the "Follower Replication" item on #84. There wasn't really a way to exercise this clause without artificial hooks, so I added a new test case that just pushes things into the new code as a regression.

I also made a sweep through here to look for other loops where we need to check stopCh and everything else looks good. The pipeline case already has handling of it because it doesn't internally loop like replicateTo() does.

@armon
Copy link
Member

armon commented Apr 13, 2016

LGTM!

@slackpad slackpad merged commit d1c5900 into issue-84-integration Apr 13, 2016
@slackpad slackpad deleted the f-replication-break branch April 13, 2016 02:46
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