{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1710","repository_url":"https://api.github.com/repos/couchbase/sync_gateway","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1710/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1710/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1710/events","html_url":"https://github.com/couchbase/sync_gateway/issues/1710","id":149520006,"number":1710,"title":"Ability for Sync Gateway to bring itself back online after unexpected offline","user":{"login":"adamcfraser","id":8866453,"avatar_url":"https://avatars3.githubusercontent.com/u/8866453?v=4","gravatar_id":"","url":"https://api.github.com/users/adamcfraser","html_url":"https://github.com/adamcfraser","followers_url":"https://api.github.com/users/adamcfraser/followers","following_url":"https://api.github.com/users/adamcfraser/following{/other_user}","gists_url":"https://api.github.com/users/adamcfraser/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcfraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcfraser/subscriptions","organizations_url":"https://api.github.com/users/adamcfraser/orgs","repos_url":"https://api.github.com/users/adamcfraser/repos","events_url":"https://api.github.com/users/adamcfraser/events{/privacy}","received_events_url":"https://api.github.com/users/adamcfraser/received_events","type":"User","site_admin":false},"labels":[{"id":15625806,"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":110668780,"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/P1:%20high","name":"P1: high","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"ajres","id":7745210,"avatar_url":"https://avatars1.githubusercontent.com/u/7745210?v=4","gravatar_id":"","url":"https://api.github.com/users/ajres","html_url":"https://github.com/ajres","followers_url":"https://api.github.com/users/ajres/followers","following_url":"https://api.github.com/users/ajres/following{/other_user}","gists_url":"https://api.github.com/users/ajres/gists{/gist_id}","starred_url":"https://api.github.com/users/ajres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajres/subscriptions","organizations_url":"https://api.github.com/users/ajres/orgs","repos_url":"https://api.github.com/users/ajres/repos","events_url":"https://api.github.com/users/ajres/events{/privacy}","received_events_url":"https://api.github.com/users/ajres/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajres","id":7745210,"avatar_url":"https://avatars1.githubusercontent.com/u/7745210?v=4","gravatar_id":"","url":"https://api.github.com/users/ajres","html_url":"https://github.com/ajres","followers_url":"https://api.github.com/users/ajres/followers","following_url":"https://api.github.com/users/ajres/following{/other_user}","gists_url":"https://api.github.com/users/ajres/gists{/gist_id}","starred_url":"https://api.github.com/users/ajres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajres/subscriptions","organizations_url":"https://api.github.com/users/ajres/orgs","repos_url":"https://api.github.com/users/ajres/repos","events_url":"https://api.github.com/users/ajres/events{/privacy}","received_events_url":"https://api.github.com/users/ajres/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/16","html_url":"https://github.com/couchbase/sync_gateway/milestone/16","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/16/labels","id":1267127,"number":16,"title":"1.3","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars3.githubusercontent.com/u/759830?v=4","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":147,"state":"closed","created_at":"2015-08-22T00:09:34Z","updated_at":"2017-09-28T14:03:36Z","due_on":null,"closed_at":"2017-03-23T15:22:57Z"},"comments":2,"created_at":"2016-04-19T17:00:19Z","updated_at":"2017-10-02T15:55:02Z","closed_at":"2016-06-21T20:25:40Z","author_association":"CONTRIBUTOR","body":"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.  \n\nI 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.\n\nTo retain user configuration of this behaviour, we could add an optional `disable_reconnect` flag to the config that would disable the reconnect behaviour.\n"},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/333578135","html_url":"https://github.com/couchbase/sync_gateway/issues/1710#issuecomment-333578135","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1710","id":333578135,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars1.githubusercontent.com/u/296876?v=4","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2017-10-02T15:55:02Z","updated_at":"2017-10-02T15:55:02Z","author_association":"COLLABORATOR","body":"@vk07519 it had the 1.3 milestone, so I'm gonna assume 1.3"}}
{"actor":{"display_login":"tleyden"}}