{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1256","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1256/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1256/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1256/events","html_url":"https://github.com/MailCore/mailcore2/issues/1256","id":113135458,"number":1256,"title":"uids fetched from gmail folder can be wrong occasionally","user":{"login":"frankobe","id":2467199,"avatar_url":"https://avatars.githubusercontent.com/u/2467199?v=3","gravatar_id":"","url":"https://api.github.com/users/frankobe","html_url":"https://github.com/frankobe","followers_url":"https://api.github.com/users/frankobe/followers","following_url":"https://api.github.com/users/frankobe/following{/other_user}","gists_url":"https://api.github.com/users/frankobe/gists{/gist_id}","starred_url":"https://api.github.com/users/frankobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankobe/subscriptions","organizations_url":"https://api.github.com/users/frankobe/orgs","repos_url":"https://api.github.com/users/frankobe/repos","events_url":"https://api.github.com/users/frankobe/events{/privacy}","received_events_url":"https://api.github.com/users/frankobe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-24T04:34:30Z","updated_at":"2015-10-27T04:10:27Z","closed_at":null,"body":"i discover an issue when fetch uids from certain gmail folder using:\r\n```Obj-c\r\nMCOIndexSet *uidSet = [MCOIndexSet indexSetWithRange:MCORangeMake(localFirstUID, UINT64_MAX)]\r\n\r\nMCOIMAPFetchMessagesOperation *fetchOperation =\r\n    [self.imapSession fetchMessagesOperationWithFolder:folder\r\n                                                requestKind:(MCOIMAPMessagesRequestKindFlags)\r\n                                                       uids:uidSet];\r\n\r\n[fetchOperation start: completionBlock];\r\n```\r\n\r\nOccasionally returned message uidset can miss a few uids compared with my local uid dataset. But for the next time fetching, those missed message can be found. I verify messages with missed uids belong to the folder based on gmail web.\r\n\r\nThe chance it happened can be around 1/50. I doubt it can be an error with gmail server return.\r\n\r\nJust raise this to see who else encounter the similar issue. If it is true, double check needed when synchronizing between local and server \r\n"},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/151370274","html_url":"https://github.com/MailCore/mailcore2/issues/1256#issuecomment-151370274","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1256","id":151370274,"user":{"login":"dinhviethoa","id":332168,"avatar_url":"https://avatars.githubusercontent.com/u/332168?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhviethoa","html_url":"https://github.com/dinhviethoa","followers_url":"https://api.github.com/users/dinhviethoa/followers","following_url":"https://api.github.com/users/dinhviethoa/following{/other_user}","gists_url":"https://api.github.com/users/dinhviethoa/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhviethoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhviethoa/subscriptions","organizations_url":"https://api.github.com/users/dinhviethoa/orgs","repos_url":"https://api.github.com/users/dinhviethoa/repos","events_url":"https://api.github.com/users/dinhviethoa/events{/privacy}","received_events_url":"https://api.github.com/users/dinhviethoa/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T04:10:27Z","updated_at":"2015-10-27T04:10:27Z","body":"MCORangeMake(32036, UINT64_MAX) means 32036 to +infinity.\r\nTherefore, 32041 and 32042 will be included.\r\n"}}