{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1372","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1372/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1372/events","html_url":"https://github.com/couchbase/sync_gateway/issues/1372","id":122865174,"number":1372,"title":"[Distributed Index] Index reader trying to read from empty index when writer fails to initialize","user":{"login":"sethrosetter","id":1365736,"avatar_url":"https://avatars.githubusercontent.com/u/1365736?v=3","gravatar_id":"","url":"https://api.github.com/users/sethrosetter","html_url":"https://github.com/sethrosetter","followers_url":"https://api.github.com/users/sethrosetter/followers","following_url":"https://api.github.com/users/sethrosetter/following{/other_user}","gists_url":"https://api.github.com/users/sethrosetter/gists{/gist_id}","starred_url":"https://api.github.com/users/sethrosetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethrosetter/subscriptions","organizations_url":"https://api.github.com/users/sethrosetter/orgs","repos_url":"https://api.github.com/users/sethrosetter/repos","events_url":"https://api.github.com/users/sethrosetter/events{/privacy}","received_events_url":"https://api.github.com/users/sethrosetter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T02:20:51Z","updated_at":"2015-12-18T06:06:02Z","closed_at":null,"body":"Using Couchbase Sync Gateway/feature/distributed_index(a157f83)\r\n\r\nBelow is the log output of a writer that fails to register with CBGT\r\nhttps://gist.github.com/sethrosetter/704c93e65a1dfed63721\r\n\r\nDespite the writers not registering, the readers continue to try and read from an empty index https://gist.github.com/sethrosetter/9add6ad6425ef5d9e3f9\r\n\r\nfull logs -> https://s3.amazonaws.com/sync-gateway-logs/snapshot-2015-12-17-17-52-24-sglogs.zip"},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/165681332","html_url":"https://github.com/couchbase/sync_gateway/issues/1372#issuecomment-165681332","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1372","id":165681332,"user":{"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},"created_at":"2015-12-18T06:06:02Z","updated_at":"2015-12-18T06:06:02Z","body":"If you can reproduce it, can you try to capture the CBGT diagnostics as mentioned in https://github.com/couchbaselabs/sync-gateway-testcluster/issues/157?"}}