{"action":"closed","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/440","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/440/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/440/events","html_url":"https://github.com/couchbase/sync_gateway/issues/440","id":45052637,"number":440,"title":"_all_docs still slow","user":{"login":"jnordberg","id":95886,"avatar_url":"https://avatars.githubusercontent.com/u/95886?v=3","gravatar_id":"","url":"https://api.github.com/users/jnordberg","html_url":"https://github.com/jnordberg","followers_url":"https://api.github.com/users/jnordberg/followers","following_url":"https://api.github.com/users/jnordberg/following{/other_user}","gists_url":"https://api.github.com/users/jnordberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jnordberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnordberg/subscriptions","organizations_url":"https://api.github.com/users/jnordberg/orgs","repos_url":"https://api.github.com/users/jnordberg/repos","events_url":"https://api.github.com/users/jnordberg/events{/privacy}","received_events_url":"https://api.github.com/users/jnordberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/done","name":"done","color":"ededed"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/functional-test-needed","name":"functional-test-needed","color":"0052cc"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/P2:%20medium","name":"P2: medium","color":"eb6420"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/performance","name":"performance","color":"009800"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/S3:%20major","name":"S3: major","color":"fbca04"},{"url":"https://api.github.com/repos/couchbase/sync_gateway/labels/size-small","name":"size-small","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"ajres","id":7745210,"avatar_url":"https://avatars.githubusercontent.com/u/7745210?v=3","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/10","html_url":"https://github.com/couchbase/sync_gateway/milestones/1.1.0","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/10/labels","id":757913,"number":10,"title":"1.1.0","description":"","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":18,"closed_issues":29,"state":"open","created_at":"2014-08-18T20:44:06Z","updated_at":"2015-03-28T00:04:14Z","due_on":"2014-12-12T08:00:00Z","closed_at":null},"comments":6,"created_at":"2014-10-07T00:05:48Z","updated_at":"2015-03-28T00:04:14Z","closed_at":"2015-03-28T00:04:14Z","body":"Refs #326\r\n\r\nOn a bucket with `1 742 612` items fetching `_all_docs` logged in as a user who has 1 channel with 10 documents in it takes more than 60 seconds (our LB cuts the request off at that point so I'm unable to see the response, if there is any).\r\n\r\nRequesting `_changes?since=0` as the same user on the same bucket only takes ~20ms.\r\n"}}