{"action":"closed","number":404,"pull_request":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404","id":20491769,"html_url":"https://github.com/couchbase/couchbase-lite-android/pull/404","diff_url":"https://github.com/couchbase/couchbase-lite-android/pull/404.diff","patch_url":"https://github.com/couchbase/couchbase-lite-android/pull/404.patch","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/404","number":404,"state":"closed","locked":false,"title":"Continuous replications stay in \"limbo\" after failing to get checkpoint on start","user":{"login":"ejms","id":6543413,"avatar_url":"https://avatars.githubusercontent.com/u/6543413?v=3","gravatar_id":"","url":"https://api.github.com/users/ejms","html_url":"https://github.com/ejms","followers_url":"https://api.github.com/users/ejms/followers","following_url":"https://api.github.com/users/ejms/following{/other_user}","gists_url":"https://api.github.com/users/ejms/gists{/gist_id}","starred_url":"https://api.github.com/users/ejms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejms/subscriptions","organizations_url":"https://api.github.com/users/ejms/orgs","repos_url":"https://api.github.com/users/ejms/repos","events_url":"https://api.github.com/users/ejms/events{/privacy}","received_events_url":"https://api.github.com/users/ejms/received_events","type":"User","site_admin":false},"body":"When a continuous replication is started, if it fails to get the _local checkpoint 3 times with an error other than a 404, the replicator never starts, but its state doesn't change do STOPPED or OFFLINE, it just stays IDLE forever and never tries to make new requests \r\n\r\nIn the Replication fetchRemoteCheckpointDoc() if the error is different from 404 it just sets the replication error and the beginReplicating() method is never called(https://github.com/couchbase/couchbase-lite-java-core/blob/master/src/main/java/com/couchbase/lite/replicator/Replication.java#L1224-1226). \r\n\r\nA backoff mechanism should be implemented to correct this behaviour and guarantee the replicator doesn't stay IDLE forever without making new requests.","created_at":"2014-08-29T10:17:42Z","updated_at":"2015-01-07T19:25:57Z","closed_at":"2015-01-07T19:25:57Z","merged_at":null,"merge_commit_sha":"0c141e6647d1c11722b3f776e537f96ccf7828f8","assignee":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","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},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-android/milestones/8","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/milestones/8/labels","id":634082,"number":8,"title":"1.0.4","description":"Includes 1.0.4 features\r\n\r\n* Add Websocket support for parity\r\n* Add Gzip support for parity","creator":{"login":"jessliu","id":4998909,"avatar_url":"https://avatars.githubusercontent.com/u/4998909?v=3","gravatar_id":"","url":"https://api.github.com/users/jessliu","html_url":"https://github.com/jessliu","followers_url":"https://api.github.com/users/jessliu/followers","following_url":"https://api.github.com/users/jessliu/following{/other_user}","gists_url":"https://api.github.com/users/jessliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jessliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessliu/subscriptions","organizations_url":"https://api.github.com/users/jessliu/orgs","repos_url":"https://api.github.com/users/jessliu/repos","events_url":"https://api.github.com/users/jessliu/events{/privacy}","received_events_url":"https://api.github.com/users/jessliu/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":3,"state":"open","created_at":"2014-04-18T18:06:59Z","updated_at":"2015-01-07T19:25:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404/commits","review_comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404/comments","review_comment_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/comments/{number}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/404/comments","statuses_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/statuses/a32fd8debb513e617440d73fc2ef92f0adf1cdb4","head":{"label":"ejms:master","ref":"master","sha":"a32fd8debb513e617440d73fc2ef92f0adf1cdb4","user":{"login":"ejms","id":6543413,"avatar_url":"https://avatars.githubusercontent.com/u/6543413?v=3","gravatar_id":"","url":"https://api.github.com/users/ejms","html_url":"https://github.com/ejms","followers_url":"https://api.github.com/users/ejms/followers","following_url":"https://api.github.com/users/ejms/following{/other_user}","gists_url":"https://api.github.com/users/ejms/gists{/gist_id}","starred_url":"https://api.github.com/users/ejms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejms/subscriptions","organizations_url":"https://api.github.com/users/ejms/orgs","repos_url":"https://api.github.com/users/ejms/repos","events_url":"https://api.github.com/users/ejms/events{/privacy}","received_events_url":"https://api.github.com/users/ejms/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"couchbase:master","ref":"master","sha":"290739586f0b65cd57f87a8b75203be01a116d73","user":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"repo":{"id":9992330,"name":"couchbase-lite-android","full_name":"couchbase/couchbase-lite-android","owner":{"login":"couchbase","id":605755,"avatar_url":"https://avatars.githubusercontent.com/u/605755?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbase","html_url":"https://github.com/couchbase","followers_url":"https://api.github.com/users/couchbase/followers","following_url":"https://api.github.com/users/couchbase/following{/other_user}","gists_url":"https://api.github.com/users/couchbase/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbase/subscriptions","organizations_url":"https://api.github.com/users/couchbase/orgs","repos_url":"https://api.github.com/users/couchbase/repos","events_url":"https://api.github.com/users/couchbase/events{/privacy}","received_events_url":"https://api.github.com/users/couchbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbase/couchbase-lite-android","description":"Lightweight, embedded, syncable NoSQL database engine for Android.","fork":false,"url":"https://api.github.com/repos/couchbase/couchbase-lite-android","forks_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/forks","keys_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/teams","hooks_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/hooks","issue_events_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/events{/number}","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/events","assignees_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/assignees{/user}","branches_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/branches{/branch}","tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/tags","blobs_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/languages","stargazers_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/stargazers","contributors_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/contributors","subscribers_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/subscribers","subscription_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/subscription","commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/comments/{number}","contents_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/contents/{+path}","compare_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/merges","archive_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/downloads","issues_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues{/number}","pulls_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/labels{/name}","releases_url":"https://api.github.com/repos/couchbase/couchbase-lite-android/releases{/id}","created_at":"2013-05-10T23:36:45Z","updated_at":"2015-01-07T19:14:07Z","pushed_at":"2015-01-07T19:17:46Z","git_url":"git://github.com/couchbase/couchbase-lite-android.git","ssh_url":"git@github.com:couchbase/couchbase-lite-android.git","clone_url":"https://github.com/couchbase/couchbase-lite-android.git","svn_url":"https://github.com/couchbase/couchbase-lite-android","homepage":"http://developer.couchbase.com/mobile/","size":32202,"stargazers_count":364,"watchers_count":364,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":70,"forks":88,"open_issues":70,"watchers":364,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404"},"html":{"href":"https://github.com/couchbase/couchbase-lite-android/pull/404"},"issue":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/404"},"comments":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/issues/404/comments"},"review_comments":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404/comments"},"review_comment":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/pulls/404/commits"},"statuses":{"href":"https://api.github.com/repos/couchbase/couchbase-lite-android/statuses/a32fd8debb513e617440d73fc2ef92f0adf1cdb4"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":12,"review_comments":0,"commits":1,"additions":63,"deletions":0,"changed_files":2}}