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

Better handing when SG drops TAP feed #722

Closed
adamcfraser opened this issue Mar 12, 2015 · 5 comments
Closed

Better handing when SG drops TAP feed #722

adamcfraser opened this issue Mar 12, 2015 · 5 comments
Assignees

Comments

@adamcfraser
Copy link
Collaborator

In https://issues.couchbase.com/browse/CBSE-1722, customer had a scenario where a SG node appeared to drop the TAP feed (in a two SG node cluster, one node stopped doing channel cache writes at a specific point in time).

Review whether it's possible to identify a dropped feed and restore in this scenario.

At minimum we should have better diagnostics/warnings/feedback in the logs when the server loses it's TAP feed.

@adamcfraser
Copy link
Collaborator Author

If not already covered by the go-couchbase libraries, this should also handle the case where the TAP feed drops a subset of vbuckets.

@nod
Copy link

nod commented Mar 13, 2015

As you develop a patch for this, I'd be very willing to test on our setup.

@nod
Copy link

nod commented Mar 13, 2015

refs #692

Adding ref here to loop in @nl

@adamcfraser
Copy link
Collaborator Author

Error log for dropped TAP feed:
https://gist.github.com/adamcfraser/4ed3858f7d42ce20cc49

@adamcfraser
Copy link
Collaborator Author

Sync Gateway will now take the bucket offline in response to a dropped TAP feed, and attempt to reconnect/bring the bucket online automatically.

@adamcfraser adamcfraser modified the milestone: 1.3 Aug 11, 2016
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

No branches or pull requests

3 participants