{"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments/59954361","id":59954361,"diff_hunk":"@@ -1403,9 +1443,9 @@ mongoc_topology_description_handle_ismaster (\n                                               error);\n \n    if (gSDAMTransitionTable[sd->type][topology->type]) {\n-      TRACE(\"Transitioning to %d for %d\", topology->type, sd->type);\n+      TRACE(\"Transitioning to %s for %s\", _mongoc_topology_description_type_string(topology), mongoc_server_description_type_string(sd));\n       gSDAMTransitionTable[sd->type][topology->type] (topology, sd);\n    } else {\n-      TRACE(\"No transition entry to %d for %d\", topology->type, sd->type);\n+      TRACE(\"No transition entry to %s for %s\", _mongoc_topology_description_type_string(topology), mongoc_server_description_type_string(sd));","path":"src/mongoc/mongoc-topology-description.c","position":56,"original_position":56,"commit_id":"1d3dced58ada9b63009ac2e1119cc0f433e051ee","original_commit_id":"f8a9ef22b7a495ce7cc82b2678db053a0eb646ab","user":{"login":"chergert","id":25676,"avatar_url":"https://avatars.githubusercontent.com/u/25676?v=3","gravatar_id":"","url":"https://api.github.com/users/chergert","html_url":"https://github.com/chergert","followers_url":"https://api.github.com/users/chergert/followers","following_url":"https://api.github.com/users/chergert/following{/other_user}","gists_url":"https://api.github.com/users/chergert/gists{/gist_id}","starred_url":"https://api.github.com/users/chergert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chergert/subscriptions","organizations_url":"https://api.github.com/users/chergert/orgs","repos_url":"https://api.github.com/users/chergert/repos","events_url":"https://api.github.com/users/chergert/events{/privacy}","received_events_url":"https://api.github.com/users/chergert/received_events","type":"User","site_admin":false},"body":"@jmikola correct","created_at":"2016-04-15T23:25:35Z","updated_at":"2016-04-15T23:25:35Z","html_url":"https://github.com/mongodb/mongo-c-driver/pull/322#discussion_r59954361","pull_request_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments/59954361"},"html":{"href":"https://github.com/mongodb/mongo-c-driver/pull/322#discussion_r59954361"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322"}}},"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322","id":66090958,"html_url":"https://github.com/mongodb/mongo-c-driver/pull/322","diff_url":"https://github.com/mongodb/mongo-c-driver/pull/322.diff","patch_url":"https://github.com/mongodb/mongo-c-driver/pull/322.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/322","number":322,"state":"open","locked":false,"title":"CDRIVER-1193, CDRIVER-1198: Expose mongoc_server_description_type_t and improve SDAM logging","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"body":" * https://jira.mongodb.org/browse/CDRIVER-1193\r\n * https://jira.mongodb.org/browse/CDRIVER-1198\r\n\r\nCross-referencing with https://github.com/mongodb/mongo-php-driver/pull/291.","created_at":"2016-04-12T02:09:53Z","updated_at":"2016-04-15T23:25:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afea74fc717bca520816e6abdcde64e471f90ce7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/322/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/1d3dced58ada9b63009ac2e1119cc0f433e051ee","head":{"label":"jmikola:cdriver-1193","ref":"cdriver-1193","sha":"1d3dced58ada9b63009ac2e1119cc0f433e051ee","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"repo":{"id":24768140,"name":"mongo-c-driver","full_name":"jmikola/mongo-c-driver","owner":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?v=3","gravatar_id":"","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmikola/mongo-c-driver","description":"A high-performance MongoDB driver for C","fork":true,"url":"https://api.github.com/repos/jmikola/mongo-c-driver","forks_url":"https://api.github.com/repos/jmikola/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/jmikola/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmikola/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmikola/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/jmikola/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/jmikola/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jmikola/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/jmikola/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jmikola/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jmikola/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/jmikola/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmikola/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmikola/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmikola/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmikola/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jmikola/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/jmikola/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/jmikola/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/jmikola/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/jmikola/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/jmikola/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmikola/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmikola/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmikola/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmikola/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jmikola/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmikola/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/jmikola/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmikola/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/jmikola/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jmikola/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jmikola/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jmikola/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmikola/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/jmikola/mongo-c-driver/releases{/id}","deployments_url":"https://api.github.com/repos/jmikola/mongo-c-driver/deployments","created_at":"2014-10-03T17:55:14Z","updated_at":"2016-01-25T21:45:53Z","pushed_at":"2016-04-15T19:13:34Z","git_url":"git://github.com/jmikola/mongo-c-driver.git","ssh_url":"git@github.com:jmikola/mongo-c-driver.git","clone_url":"https://github.com/jmikola/mongo-c-driver.git","svn_url":"https://github.com/jmikola/mongo-c-driver","homepage":"","size":14366,"stargazers_count":0,"watchers_count":0,"language":"C","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":"mongodb:master","ref":"master","sha":"5430584f44d83c09d7c63d398118b79de2d613b8","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":9735077,"name":"mongo-c-driver","full_name":"mongodb/mongo-c-driver","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/mongo-c-driver","description":"A high-performance MongoDB driver for C","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-c-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-c-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-c-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-c-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-c-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-c-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-c-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-c-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-c-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-c-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongodb/mongo-c-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-c-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-c-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-c-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-c-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-c-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-c-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-c-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-c-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-c-driver/releases{/id}","deployments_url":"https://api.github.com/repos/mongodb/mongo-c-driver/deployments","created_at":"2013-04-28T19:34:36Z","updated_at":"2016-04-14T02:37:19Z","pushed_at":"2016-04-15T19:13:34Z","git_url":"git://github.com/mongodb/mongo-c-driver.git","ssh_url":"git@github.com:mongodb/mongo-c-driver.git","clone_url":"https://github.com/mongodb/mongo-c-driver.git","svn_url":"https://github.com/mongodb/mongo-c-driver","homepage":"","size":15077,"stargazers_count":217,"watchers_count":217,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"open_issues_count":2,"forks":146,"open_issues":2,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322"},"html":{"href":"https://github.com/mongodb/mongo-c-driver/pull/322"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/322"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-c-driver/statuses/1d3dced58ada9b63009ac2e1119cc0f433e051ee"}}}}