{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53","id":49200678,"html_url":"https://github.com/Knotis/djangocassandra/pull/53","diff_url":"https://github.com/Knotis/djangocassandra/pull/53.diff","patch_url":"https://github.com/Knotis/djangocassandra/pull/53.patch","issue_url":"https://api.github.com/repos/Knotis/djangocassandra/issues/53","number":53,"state":"closed","locked":false,"title":"Inefficent Queries (get/filter) Don't Return Results In Some Cases","user":{"login":"sethdenner","id":1732091,"avatar_url":"https://avatars.githubusercontent.com/u/1732091?v=3","gravatar_id":"","url":"https://api.github.com/users/sethdenner","html_url":"https://github.com/sethdenner","followers_url":"https://api.github.com/users/sethdenner/followers","following_url":"https://api.github.com/users/sethdenner/following{/other_user}","gists_url":"https://api.github.com/users/sethdenner/gists{/gist_id}","starred_url":"https://api.github.com/users/sethdenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethdenner/subscriptions","organizations_url":"https://api.github.com/users/sethdenner/orgs","repos_url":"https://api.github.com/users/sethdenner/repos","events_url":"https://api.github.com/users/sethdenner/events{/privacy}","received_events_url":"https://api.github.com/users/sethdenner/received_events","type":"User","site_admin":false},"body":"Nasty bug here where for inefficient queries the limit on the query wasn't being reset. Somewhere in the get/filter django sets a limit to 21 (I think this is MAX_GET_RESULTS +1; use grep to find if curious). When there were more than 21 results in the query set there was a good chance that the result that matches the provided filter would not be in the result set.","created_at":"2015-10-29T21:12:30Z","updated_at":"2015-10-29T21:19:32Z","closed_at":"2015-10-29T21:19:32Z","merged_at":"2015-10-29T21:19:32Z","merge_commit_sha":"b44a4a9dae41c5eef5d9af3ec07562518250574a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53/commits","review_comments_url":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53/comments","review_comment_url":"https://api.github.com/repos/Knotis/djangocassandra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Knotis/djangocassandra/issues/53/comments","statuses_url":"https://api.github.com/repos/Knotis/djangocassandra/statuses/0366b87dbedefaaf7915f991a08fa1b7f9177164","head":{"label":"sethdenner:fix-inefficient-queries-cant-find-results","ref":"fix-inefficient-queries-cant-find-results","sha":"0366b87dbedefaaf7915f991a08fa1b7f9177164","user":{"login":"sethdenner","id":1732091,"avatar_url":"https://avatars.githubusercontent.com/u/1732091?v=3","gravatar_id":"","url":"https://api.github.com/users/sethdenner","html_url":"https://github.com/sethdenner","followers_url":"https://api.github.com/users/sethdenner/followers","following_url":"https://api.github.com/users/sethdenner/following{/other_user}","gists_url":"https://api.github.com/users/sethdenner/gists{/gist_id}","starred_url":"https://api.github.com/users/sethdenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethdenner/subscriptions","organizations_url":"https://api.github.com/users/sethdenner/orgs","repos_url":"https://api.github.com/users/sethdenner/repos","events_url":"https://api.github.com/users/sethdenner/events{/privacy}","received_events_url":"https://api.github.com/users/sethdenner/received_events","type":"User","site_admin":false},"repo":{"id":18610279,"name":"djangocassandra","full_name":"sethdenner/djangocassandra","owner":{"login":"sethdenner","id":1732091,"avatar_url":"https://avatars.githubusercontent.com/u/1732091?v=3","gravatar_id":"","url":"https://api.github.com/users/sethdenner","html_url":"https://github.com/sethdenner","followers_url":"https://api.github.com/users/sethdenner/followers","following_url":"https://api.github.com/users/sethdenner/following{/other_user}","gists_url":"https://api.github.com/users/sethdenner/gists{/gist_id}","starred_url":"https://api.github.com/users/sethdenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethdenner/subscriptions","organizations_url":"https://api.github.com/users/sethdenner/orgs","repos_url":"https://api.github.com/users/sethdenner/repos","events_url":"https://api.github.com/users/sethdenner/events{/privacy}","received_events_url":"https://api.github.com/users/sethdenner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sethdenner/djangocassandra","description":"Cassandra support for the Django web framework","fork":true,"url":"https://api.github.com/repos/sethdenner/djangocassandra","forks_url":"https://api.github.com/repos/sethdenner/djangocassandra/forks","keys_url":"https://api.github.com/repos/sethdenner/djangocassandra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sethdenner/djangocassandra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sethdenner/djangocassandra/teams","hooks_url":"https://api.github.com/repos/sethdenner/djangocassandra/hooks","issue_events_url":"https://api.github.com/repos/sethdenner/djangocassandra/issues/events{/number}","events_url":"https://api.github.com/repos/sethdenner/djangocassandra/events","assignees_url":"https://api.github.com/repos/sethdenner/djangocassandra/assignees{/user}","branches_url":"https://api.github.com/repos/sethdenner/djangocassandra/branches{/branch}","tags_url":"https://api.github.com/repos/sethdenner/djangocassandra/tags","blobs_url":"https://api.github.com/repos/sethdenner/djangocassandra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sethdenner/djangocassandra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sethdenner/djangocassandra/git/refs{/sha}","trees_url":"https://api.github.com/repos/sethdenner/djangocassandra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sethdenner/djangocassandra/statuses/{sha}","languages_url":"https://api.github.com/repos/sethdenner/djangocassandra/languages","stargazers_url":"https://api.github.com/repos/sethdenner/djangocassandra/stargazers","contributors_url":"https://api.github.com/repos/sethdenner/djangocassandra/contributors","subscribers_url":"https://api.github.com/repos/sethdenner/djangocassandra/subscribers","subscription_url":"https://api.github.com/repos/sethdenner/djangocassandra/subscription","commits_url":"https://api.github.com/repos/sethdenner/djangocassandra/commits{/sha}","git_commits_url":"https://api.github.com/repos/sethdenner/djangocassandra/git/commits{/sha}","comments_url":"https://api.github.com/repos/sethdenner/djangocassandra/comments{/number}","issue_comment_url":"https://api.github.com/repos/sethdenner/djangocassandra/issues/comments{/number}","contents_url":"https://api.github.com/repos/sethdenner/djangocassandra/contents/{+path}","compare_url":"https://api.github.com/repos/sethdenner/djangocassandra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sethdenner/djangocassandra/merges","archive_url":"https://api.github.com/repos/sethdenner/djangocassandra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sethdenner/djangocassandra/downloads","issues_url":"https://api.github.com/repos/sethdenner/djangocassandra/issues{/number}","pulls_url":"https://api.github.com/repos/sethdenner/djangocassandra/pulls{/number}","milestones_url":"https://api.github.com/repos/sethdenner/djangocassandra/milestones{/number}","notifications_url":"https://api.github.com/repos/sethdenner/djangocassandra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sethdenner/djangocassandra/labels{/name}","releases_url":"https://api.github.com/repos/sethdenner/djangocassandra/releases{/id}","created_at":"2014-04-09T19:31:59Z","updated_at":"2015-04-16T21:40:05Z","pushed_at":"2015-10-29T21:17:07Z","git_url":"git://github.com/sethdenner/djangocassandra.git","ssh_url":"git@github.com:sethdenner/djangocassandra.git","clone_url":"https://github.com/sethdenner/djangocassandra.git","svn_url":"https://github.com/sethdenner/djangocassandra","homepage":null,"size":66140,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Knotis:master","ref":"master","sha":"e8b7ca753cfb8cc816003396a62d648e9c2ad3f3","user":{"login":"Knotis","id":2694580,"avatar_url":"https://avatars.githubusercontent.com/u/2694580?v=3","gravatar_id":"","url":"https://api.github.com/users/Knotis","html_url":"https://github.com/Knotis","followers_url":"https://api.github.com/users/Knotis/followers","following_url":"https://api.github.com/users/Knotis/following{/other_user}","gists_url":"https://api.github.com/users/Knotis/gists{/gist_id}","starred_url":"https://api.github.com/users/Knotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knotis/subscriptions","organizations_url":"https://api.github.com/users/Knotis/orgs","repos_url":"https://api.github.com/users/Knotis/repos","events_url":"https://api.github.com/users/Knotis/events{/privacy}","received_events_url":"https://api.github.com/users/Knotis/received_events","type":"Organization","site_admin":false},"repo":{"id":18423115,"name":"djangocassandra","full_name":"Knotis/djangocassandra","owner":{"login":"Knotis","id":2694580,"avatar_url":"https://avatars.githubusercontent.com/u/2694580?v=3","gravatar_id":"","url":"https://api.github.com/users/Knotis","html_url":"https://github.com/Knotis","followers_url":"https://api.github.com/users/Knotis/followers","following_url":"https://api.github.com/users/Knotis/following{/other_user}","gists_url":"https://api.github.com/users/Knotis/gists{/gist_id}","starred_url":"https://api.github.com/users/Knotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knotis/subscriptions","organizations_url":"https://api.github.com/users/Knotis/orgs","repos_url":"https://api.github.com/users/Knotis/repos","events_url":"https://api.github.com/users/Knotis/events{/privacy}","received_events_url":"https://api.github.com/users/Knotis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Knotis/djangocassandra","description":"Cassandra support for the Django web framework","fork":false,"url":"https://api.github.com/repos/Knotis/djangocassandra","forks_url":"https://api.github.com/repos/Knotis/djangocassandra/forks","keys_url":"https://api.github.com/repos/Knotis/djangocassandra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Knotis/djangocassandra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Knotis/djangocassandra/teams","hooks_url":"https://api.github.com/repos/Knotis/djangocassandra/hooks","issue_events_url":"https://api.github.com/repos/Knotis/djangocassandra/issues/events{/number}","events_url":"https://api.github.com/repos/Knotis/djangocassandra/events","assignees_url":"https://api.github.com/repos/Knotis/djangocassandra/assignees{/user}","branches_url":"https://api.github.com/repos/Knotis/djangocassandra/branches{/branch}","tags_url":"https://api.github.com/repos/Knotis/djangocassandra/tags","blobs_url":"https://api.github.com/repos/Knotis/djangocassandra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Knotis/djangocassandra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Knotis/djangocassandra/git/refs{/sha}","trees_url":"https://api.github.com/repos/Knotis/djangocassandra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Knotis/djangocassandra/statuses/{sha}","languages_url":"https://api.github.com/repos/Knotis/djangocassandra/languages","stargazers_url":"https://api.github.com/repos/Knotis/djangocassandra/stargazers","contributors_url":"https://api.github.com/repos/Knotis/djangocassandra/contributors","subscribers_url":"https://api.github.com/repos/Knotis/djangocassandra/subscribers","subscription_url":"https://api.github.com/repos/Knotis/djangocassandra/subscription","commits_url":"https://api.github.com/repos/Knotis/djangocassandra/commits{/sha}","git_commits_url":"https://api.github.com/repos/Knotis/djangocassandra/git/commits{/sha}","comments_url":"https://api.github.com/repos/Knotis/djangocassandra/comments{/number}","issue_comment_url":"https://api.github.com/repos/Knotis/djangocassandra/issues/comments{/number}","contents_url":"https://api.github.com/repos/Knotis/djangocassandra/contents/{+path}","compare_url":"https://api.github.com/repos/Knotis/djangocassandra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Knotis/djangocassandra/merges","archive_url":"https://api.github.com/repos/Knotis/djangocassandra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Knotis/djangocassandra/downloads","issues_url":"https://api.github.com/repos/Knotis/djangocassandra/issues{/number}","pulls_url":"https://api.github.com/repos/Knotis/djangocassandra/pulls{/number}","milestones_url":"https://api.github.com/repos/Knotis/djangocassandra/milestones{/number}","notifications_url":"https://api.github.com/repos/Knotis/djangocassandra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Knotis/djangocassandra/labels{/name}","releases_url":"https://api.github.com/repos/Knotis/djangocassandra/releases{/id}","created_at":"2014-04-04T00:51:33Z","updated_at":"2015-10-08T17:17:18Z","pushed_at":"2015-10-29T21:19:32Z","git_url":"git://github.com/Knotis/djangocassandra.git","ssh_url":"git@github.com:Knotis/djangocassandra.git","clone_url":"https://github.com/Knotis/djangocassandra.git","svn_url":"https://github.com/Knotis/djangocassandra","homepage":null,"size":505,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53"},"html":{"href":"https://github.com/Knotis/djangocassandra/pull/53"},"issue":{"href":"https://api.github.com/repos/Knotis/djangocassandra/issues/53"},"comments":{"href":"https://api.github.com/repos/Knotis/djangocassandra/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/Knotis/djangocassandra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Knotis/djangocassandra/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/Knotis/djangocassandra/statuses/0366b87dbedefaaf7915f991a08fa1b7f9177164"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sethdenner","id":1732091,"avatar_url":"https://avatars.githubusercontent.com/u/1732091?v=3","gravatar_id":"","url":"https://api.github.com/users/sethdenner","html_url":"https://github.com/sethdenner","followers_url":"https://api.github.com/users/sethdenner/followers","following_url":"https://api.github.com/users/sethdenner/following{/other_user}","gists_url":"https://api.github.com/users/sethdenner/gists{/gist_id}","starred_url":"https://api.github.com/users/sethdenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethdenner/subscriptions","organizations_url":"https://api.github.com/users/sethdenner/orgs","repos_url":"https://api.github.com/users/sethdenner/repos","events_url":"https://api.github.com/users/sethdenner/events{/privacy}","received_events_url":"https://api.github.com/users/sethdenner/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":4,"changed_files":4}}