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

Ability for Sync Gateway to bring itself back online after unexpected offline #1710

Closed
adamcfraser opened this issue Apr 19, 2016 · 3 comments · Fixed by #1891 or couchbase/sg-bucket#15
Assignees
Milestone

Comments

@adamcfraser
Copy link
Collaborator

adamcfraser commented Apr 19, 2016

When Sync Gateway loses the TAP feed, it gets moved to Offline mode. In most cases the desired behaviour is for Sync Gateway to go back online once it's able to connect to the TAP feed again. Currently this requires a manual step - calling the _online endpoint on the Admin API.

I propose that when Sync Gateway goes offline unexpectedly as result of a lost TAP feed (i.e. not via a call to the _offline API endpoint), Sync Gateway should periodically attempt to reconnect to the feed and take itself online without user intervention.

To retain user configuration of this behaviour, we could add an optional disable_reconnect flag to the config that would disable the reconnect behaviour.

@adamcfraser adamcfraser added this to the 1.3 milestone Apr 22, 2016
@atom992
Copy link

atom992 commented May 5, 2016

+1

@vk07519
Copy link

vk07519 commented Oct 2, 2017

Which version of Sync Gateway contains this issue fix?

@tleyden
Copy link
Contributor

tleyden commented Oct 2, 2017

@vk07519 it had the 1.3 milestone, so I'm gonna assume 1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment