{"action":"closed","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/490","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/490/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/490/events","html_url":"https://github.com/couchbase/sync_gateway/issues/490","id":47830862,"number":490,"title":"_all_docs returns global sequence as \"update_seq\" value, not last document sequence","user":{"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},"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/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/13","html_url":"https://github.com/couchbase/sync_gateway/milestones/1.0.4","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/milestones/13/labels","id":902064,"number":13,"title":"1.0.4","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","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":2,"closed_issues":20,"state":"open","created_at":"2014-12-12T18:20:44Z","updated_at":"2015-03-28T00:03:18Z","due_on":"2014-12-19T08:00:00Z","closed_at":null},"comments":3,"created_at":"2014-11-05T12:30:41Z","updated_at":"2015-03-28T00:03:18Z","closed_at":"2015-03-28T00:03:18Z","body":"Based on this forum thread: https://forums.couchbase.com/t/sync-gateway-update-seq-higher-than-last-seq/1832\r\n\r\nThe update_seq value returned from _all_docs, returns the current value stored in the couchbase global _sync:seq document.\r\n\r\nThe value stored here may be higher that the last user document sequence id.\r\n\r\nShould this value correctly reflect the highest user document sequence rather than global sequence?"}}