{"action":"opened","number":1248,"pull_request":{"url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248","id":28582896,"html_url":"https://github.com/mongodb/node-mongodb-native/pull/1248","diff_url":"https://github.com/mongodb/node-mongodb-native/pull/1248.diff","patch_url":"https://github.com/mongodb/node-mongodb-native/pull/1248.patch","issue_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1248","number":1248,"state":"open","locked":false,"title":"LearnBoost/mongoose#2229: emit close on parseError on db for single servers","user":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"body":"Re: some of the work for https://jira.mongodb.org/browse/NODE-244 and LearnBoost/mongoose#2229. Right now the close event only gets bubbled up to the server instance, rather than the actual connection. IMO makes sense to emit on the connection if its a standalone.","created_at":"2015-02-03T19:51:46Z","updated_at":"2015-02-03T19:51:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ced3d1ea0b76f253a3f4885f79f53a77b00edf2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248/commits","review_comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248/comments","review_comment_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1248/comments","statuses_url":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/e53ee0a9683ff2be2aebef78abd7a50917f4545e","head":{"label":"vkarpov15:mongoose-2229","ref":"mongoose-2229","sha":"e53ee0a9683ff2be2aebef78abd7a50917f4545e","user":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"repo":{"id":29927629,"name":"node-mongodb-native","full_name":"vkarpov15/node-mongodb-native","owner":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vkarpov15/node-mongodb-native","description":"Mongo DB Native NodeJS Driver","fork":true,"url":"https://api.github.com/repos/vkarpov15/node-mongodb-native","forks_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/forks","keys_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/teams","hooks_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/hooks","issue_events_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/issues/events{/number}","events_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/events","assignees_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/assignees{/user}","branches_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/branches{/branch}","tags_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/tags","blobs_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/statuses/{sha}","languages_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/languages","stargazers_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/stargazers","contributors_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/contributors","subscribers_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/subscribers","subscription_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/subscription","commits_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/issues/comments/{number}","contents_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/contents/{+path}","compare_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/merges","archive_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/downloads","issues_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/issues{/number}","pulls_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/pulls{/number}","milestones_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/milestones{/number}","notifications_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/labels{/name}","releases_url":"https://api.github.com/repos/vkarpov15/node-mongodb-native/releases{/id}","created_at":"2015-01-27T18:14:12Z","updated_at":"2015-01-27T18:14:14Z","pushed_at":"2015-02-03T19:50:10Z","git_url":"git://github.com/vkarpov15/node-mongodb-native.git","ssh_url":"git@github.com:vkarpov15/node-mongodb-native.git","clone_url":"https://github.com/vkarpov15/node-mongodb-native.git","svn_url":"https://github.com/vkarpov15/node-mongodb-native","homepage":"http://mongodb.github.com/node-mongodb-native/","size":61047,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.0"}},"base":{"label":"mongodb:master","ref":"master","sha":"c8b2e041100177dd8e2dca7a4dad22933d0b6d47","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":462292,"name":"node-mongodb-native","full_name":"mongodb/node-mongodb-native","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?v=3","gravatar_id":"","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/node-mongodb-native","description":"Mongo DB Native NodeJS Driver","fork":false,"url":"https://api.github.com/repos/mongodb/node-mongodb-native","forks_url":"https://api.github.com/repos/mongodb/node-mongodb-native/forks","keys_url":"https://api.github.com/repos/mongodb/node-mongodb-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/node-mongodb-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/node-mongodb-native/teams","hooks_url":"https://api.github.com/repos/mongodb/node-mongodb-native/hooks","issue_events_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/node-mongodb-native/events","assignees_url":"https://api.github.com/repos/mongodb/node-mongodb-native/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/node-mongodb-native/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/node-mongodb-native/tags","blobs_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/node-mongodb-native/languages","stargazers_url":"https://api.github.com/repos/mongodb/node-mongodb-native/stargazers","contributors_url":"https://api.github.com/repos/mongodb/node-mongodb-native/contributors","subscribers_url":"https://api.github.com/repos/mongodb/node-mongodb-native/subscribers","subscription_url":"https://api.github.com/repos/mongodb/node-mongodb-native/subscription","commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/node-mongodb-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/node-mongodb-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/comments/{number}","contents_url":"https://api.github.com/repos/mongodb/node-mongodb-native/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/node-mongodb-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/node-mongodb-native/merges","archive_url":"https://api.github.com/repos/mongodb/node-mongodb-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/node-mongodb-native/downloads","issues_url":"https://api.github.com/repos/mongodb/node-mongodb-native/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/node-mongodb-native/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/node-mongodb-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/node-mongodb-native/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/node-mongodb-native/releases{/id}","created_at":"2010-01-07T12:50:50Z","updated_at":"2015-02-03T13:27:16Z","pushed_at":"2015-02-03T13:37:53Z","git_url":"git://github.com/mongodb/node-mongodb-native.git","ssh_url":"git@github.com:mongodb/node-mongodb-native.git","clone_url":"https://github.com/mongodb/node-mongodb-native.git","svn_url":"https://github.com/mongodb/node-mongodb-native","homepage":"http://mongodb.github.com/node-mongodb-native/","size":68574,"stargazers_count":3467,"watchers_count":3467,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":775,"mirror_url":null,"open_issues_count":11,"forks":775,"open_issues":11,"watchers":3467,"default_branch":"2.0"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248"},"html":{"href":"https://github.com/mongodb/node-mongodb-native/pull/1248"},"issue":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1248"},"comments":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/issues/1248/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/pulls/1248/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/node-mongodb-native/statuses/e53ee0a9683ff2be2aebef78abd7a50917f4545e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}