{"action":"created","comment":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/comments/39791903","id":39791903,"diff_hunk":"@@ -0,0 +1,270 @@\n+/*-\n+ * Copyright (c) 2014-2015 MongoDB, Inc.\n+ * Copyright (c) 2008-2014 WiredTiger, Inc.\n+ *\tAll rights reserved.\n+ *\n+ * See the file LICENSE for redistribution information.\n+ */\n+\n+#include \"wt_internal.h\"\n+\n+/*\n+ * __wt_session_op_tracker_create_entry --\n+ *\tSetup an entry in the operation tracker queue.\n+ */\n+int\n+__wt_session_op_tracker_create_entry(\n+    WT_SESSION_IMPL *session, uint32_t type,\n+    uint32_t api_boundary, WT_OP_TRACKER_ENTRY **entryp)\n+{\n+\tWT_OP_TRACKER_ENTRY *entry, *prev_entry;\n+\n+\t*entryp = NULL;\n+\tif (F_ISSET(session, WT_SESSION_INTERNAL))\n+\t\treturn (0);\n+\n+\t/* Don't capture tracing unless we are recording for the API */\n+\tif (!api_boundary && TAILQ_EMPTY(&session->op_trackerq))\n+\t\treturn (0);\n+\n+\t/*\n+\t * Don't capture WT_CONNECTION methods (they don't have a reliable\n+\t * session handle). It would be nice to have a different way to capture\n+\t * this. An alternative would be to have an exclude list built via\n+\t * op_track.py. In the mean time this works.\n+\t */\n+\tif (type >= WT_OP_TYPE_WT_CONNECTION_async_flush &&\n+\t    type <= WT_OP_TYPE_WT_CONNECTION_get_extension_api)\n+\t\treturn (0);\n+\n+\tWT_ASSERT(session, session->api_call_depth == 0 ||\n+\t    !TAILQ_EMPTY(&session->op_trackerq));\n+\n+\t/*\n+\t * If we are entering the first time via a public API clear any\n+\t * tracked operations from the previous API call. Track the call depth\n+\t * since WiredTiger uses API calls internally.\n+\t */\n+\tif (api_boundary && session->api_call_depth == 0)\n+\t\tWT_RET(__wt_session_op_tracker_clear(session));\n+\n+\tif ((entry = TAILQ_FIRST(&session->op_tracker_availq)) != NULL) {\n+\t\tTAILQ_REMOVE(&session->op_tracker_availq, entry, aq);\n+\t} else\n+\t\tWT_RET(__wt_calloc_one(session, &entry));\n+\n+\t/* We have a new entry object now, start setting it up. */\n+\tWT_RET(__wt_epoch(session, &entry->start));\n+\tmemcpy(&entry->last_start, &entry->start, sizeof(struct timespec));\n+\tentry->api_boundary = api_boundary;\n+\tentry->depth = 1;\n+\tTAILQ_INSERT_TAIL(&session->op_trackerq, entry, q);\n+\n+\t/*\n+\t * Find the parent for this entry. It is the last entry in the queue\n+\t * that hasn't been finished.\n+\t */\n+\tfor (prev_entry = TAILQ_PREV(entry, __op_tracker, q);\n+\t    prev_entry != NULL;\n+\t    prev_entry = TAILQ_PREV(prev_entry, __op_tracker, q)) {\n+\t\tif (prev_entry->done)\n+\t\t\tcontinue;\n+\t\tWT_ASSERT(session, type != 1009 || prev_entry->type != 11);\n+\t\tentry->start_offset_us =\n+\t\t    WT_TIMEDIFF(entry->start, prev_entry->start);\n+\t\tentry->depth = prev_entry->depth + 1;\n+\t\tprev_entry->self_time_us +=\n+\t\t    WT_TIMEDIFF(entry->start, prev_entry->last_start);\n+\t\tbreak;\n+\t}\n+\n+\t/* Create and insert the first entry into the slow op tracker. */\n+\tentry->type = type;\n+\t*entryp = entry;\n+\n+\tif (api_boundary)\n+\t\t++session->api_call_depth;\n+\n+\tWT_ASSERT(session,\n+\t    !TAILQ_EMPTY(&session->op_trackerq));\n+\n+\treturn (0);\n+}\n+/*\n+ * __wt_session_op_tracker_finish_entry --\n+ *\tFinalize an entry.\n+ */\n+int\n+__wt_session_op_tracker_finish_entry(\n+    WT_SESSION_IMPL *session, WT_OP_TRACKER_ENTRY *entry)\n+{\n+\tWT_OP_TRACKER_ENTRY *prev_entry;\n+\n+\t/*\n+\t * Don't track operations completed by internal sessions. It's also\n+\t * OK to ignore calls with a NULL entry - they are operations that\n+\t * weren't fully created, and we handle finish with a NULL entry to\n+\t * avoid complicating callers code.\n+\t */\n+\tif (F_ISSET(session, WT_SESSION_INTERNAL) || entry == NULL)\n+\t\treturn (0);\n+\n+\t/*\n+\t * Special case for connection close - skip handles that are no longer\n+\t * valid. It would be nice to capture this elsewhere, but automatically\n+\t * capturing all API calls makes that non-trivial.\n+\t */\n+\tif (session->iface.connection == NULL)\n+\t\treturn (0);\n+\n+\tif (entry->api_boundary)\n+\t\t--session->api_call_depth;\n+\n+\tWT_RET(__wt_epoch(session, &entry->end));\n+\tentry->done = 1;\n+\t/*\n+\t * Set a timer in the parent if this operation is nested to facilitate\n+\t * tracking self time.\n+\t */\n+\tfor (prev_entry = TAILQ_PREV(entry, __op_tracker, q);\n+\t    prev_entry != NULL;\n+\t    prev_entry = TAILQ_PREV(prev_entry, __op_tracker, q)) {\n+\t\tif (prev_entry->done)\n+\t\t\tcontinue;\n+\t\tmemcpy(&prev_entry->last_start,\n+\t\t    &entry->end, sizeof(struct timespec));\n+\t\tbreak;\n+\t}\n+\n+\t/* Reporting is done as we are returning from the API call. */\n+\tif (entry->api_boundary && session->api_call_depth == 0) {\n+\t\t/* Update the self timer since this is the end of the trace. */\n+\t\tentry->self_time_us +=\n+\t\t    WT_TIMEDIFF(entry->end, entry->last_start);\n+\t\tWT_RET(__wt_session_op_tracker_dump(\n+\t\t    session, session->op_trace_min));\n+\t}\n+\n+\tWT_ASSERT(session, session->api_call_depth == 0 ||\n+\t    !TAILQ_EMPTY(&session->op_trackerq));\n+\treturn (0);\n+}\n+\n+/*\n+ * __wt_session_op_tracker_clear --\n+ *\tClear the slow op tracker. That is move all entries from the\n+ *\tactive queue to the available queue.\n+ */\n+int\n+__wt_session_op_tracker_clear(WT_SESSION_IMPL *session)\n+{\n+\tWT_OP_TRACKER_ENTRY *entry;\n+\n+\tWT_ASSERT(session, session->api_call_depth == 0);\n+\twhile ((entry = TAILQ_FIRST(&session->op_trackerq)) != NULL) {\n+\t\tTAILQ_REMOVE(&session->op_trackerq, entry, q);\n+\t\tif (entry->msg != NULL)\n+\t\t\t__wt_scr_free(session, &entry->msg);\n+\t\tmemset(entry, 0, sizeof(WT_OP_TRACKER_ENTRY));\n+\t\tTAILQ_INSERT_TAIL(&session->op_tracker_availq, entry, aq);\n+\t}\n+\n+\treturn (0);\n+}\n+\n+/*\n+ * __wt_session_op_tracker_destroy --\n+ *\tFree all memory associated with the slow operation tracker.\n+ */\n+int\n+__wt_session_op_tracker_destroy(WT_SESSION_IMPL *session)\n+{\n+\tWT_OP_TRACKER_ENTRY *entry;\n+\n+\tTAILQ_FOREACH(entry, &session->op_trackerq, q) {\n+\t\tif (entry->msg != NULL)\n+\t\t\t__wt_scr_free(session, &entry->msg);\n+\t\t__wt_free(session, entry);\n+\t}\n+\tTAILQ_FOREACH(entry, &session->op_tracker_availq, aq) {\n+\t\tif (entry->msg != NULL)\n+\t\t\t__wt_scr_free(session, &entry->msg);\n+\t\t__wt_free(session, entry);\n+\t}\n+\n+\treturn (0);\n+}\n+\n+/*\n+ * __wt_session_op_tracker_setup --\n+ *\tSetup the slow operation tracking mechanism for this session.\n+ */\n+int\n+__wt_session_op_tracker_setup(WT_SESSION_IMPL *session)\n+{\n+\tTAILQ_INIT(&session->op_trackerq);\n+\tTAILQ_INIT(&session->op_tracker_availq);\n+\n+\treturn (0);\n+}\n+\n+/*\n+ * __wt_session_op_tracker_dump --\n+ *\tWrite the tracking information for the last operation to the configured\n+ *\tmessage log.\n+ */\n+int\n+__wt_session_op_tracker_dump(WT_SESSION_IMPL *session, uint64_t min_time)\n+{\n+\tWT_DECL_RET;\n+\tWT_ITEM *buffer;\n+\tWT_OP_TRACKER_ENTRY *entry;\n+\tuint64_t cumulative_skipped_time, optime_us, self_time_us;\n+\n+\tcumulative_skipped_time = 0;\n+\n+\tif ((entry = TAILQ_FIRST(&session->op_trackerq)) == NULL)\n+\t\treturn (WT_NOTFOUND);","path":"src/session/session_op_tracker.c","position":227,"original_position":227,"commit_id":"a5753bbddf4249d80df68dfe09cd0cd2bb9cbcfc","original_commit_id":"a5753bbddf4249d80df68dfe09cd0cd2bb9cbcfc","user":{"login":"sueloverso","id":2945957,"avatar_url":"https://avatars.githubusercontent.com/u/2945957?v=3","gravatar_id":"","url":"https://api.github.com/users/sueloverso","html_url":"https://github.com/sueloverso","followers_url":"https://api.github.com/users/sueloverso/followers","following_url":"https://api.github.com/users/sueloverso/following{/other_user}","gists_url":"https://api.github.com/users/sueloverso/gists{/gist_id}","starred_url":"https://api.github.com/users/sueloverso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sueloverso/subscriptions","organizations_url":"https://api.github.com/users/sueloverso/orgs","repos_url":"https://api.github.com/users/sueloverso/repos","events_url":"https://api.github.com/users/sueloverso/events{/privacy}","received_events_url":"https://api.github.com/users/sueloverso/received_events","type":"User","site_admin":false},"body":"Do we really want to return WT_NOTFOUND here?  It seems like if there is nothing to do, we should just return 0, or if we really expect something to always be there, assert entry != NULL.  I don't think we want successful operations to suddenly start returning WT_NOTFOUND (like commit or rollback for example).","created_at":"2015-09-17T20:04:01Z","updated_at":"2015-09-17T20:04:01Z","html_url":"https://github.com/wiredtiger/wiredtiger/pull/2195#discussion_r39791903","pull_request_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195","_links":{"self":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/comments/39791903"},"html":{"href":"https://github.com/wiredtiger/wiredtiger/pull/2195#discussion_r39791903"},"pull_request":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195"}}},"pull_request":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195","id":45131490,"html_url":"https://github.com/wiredtiger/wiredtiger/pull/2195","diff_url":"https://github.com/wiredtiger/wiredtiger/pull/2195.diff","patch_url":"https://github.com/wiredtiger/wiredtiger/pull/2195.patch","issue_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2195","number":2195,"state":"open","locked":false,"title":"WT-2109 Slow op tracker","user":{"login":"agorrod","id":1930121,"avatar_url":"https://avatars.githubusercontent.com/u/1930121?v=3","gravatar_id":"","url":"https://api.github.com/users/agorrod","html_url":"https://github.com/agorrod","followers_url":"https://api.github.com/users/agorrod/followers","following_url":"https://api.github.com/users/agorrod/following{/other_user}","gists_url":"https://api.github.com/users/agorrod/gists{/gist_id}","starred_url":"https://api.github.com/users/agorrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agorrod/subscriptions","organizations_url":"https://api.github.com/users/agorrod/orgs","repos_url":"https://api.github.com/users/agorrod/repos","events_url":"https://api.github.com/users/agorrod/events{/privacy}","received_events_url":"https://api.github.com/users/agorrod/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-16T05:01:38Z","updated_at":"2015-09-17T20:04:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f99557e3fe0cd1b2e66bd9bb89f2790f60b5bea0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195/commits","review_comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195/comments","review_comment_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2195/comments","statuses_url":"https://api.github.com/repos/wiredtiger/wiredtiger/statuses/a5753bbddf4249d80df68dfe09cd0cd2bb9cbcfc","head":{"label":"wiredtiger:slow-op-tracker","ref":"slow-op-tracker","sha":"a5753bbddf4249d80df68dfe09cd0cd2bb9cbcfc","user":{"login":"wiredtiger","id":1251095,"avatar_url":"https://avatars.githubusercontent.com/u/1251095?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredtiger","html_url":"https://github.com/wiredtiger","followers_url":"https://api.github.com/users/wiredtiger/followers","following_url":"https://api.github.com/users/wiredtiger/following{/other_user}","gists_url":"https://api.github.com/users/wiredtiger/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredtiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredtiger/subscriptions","organizations_url":"https://api.github.com/users/wiredtiger/orgs","repos_url":"https://api.github.com/users/wiredtiger/repos","events_url":"https://api.github.com/users/wiredtiger/events{/privacy}","received_events_url":"https://api.github.com/users/wiredtiger/received_events","type":"Organization","site_admin":false},"repo":{"id":2944302,"name":"wiredtiger","full_name":"wiredtiger/wiredtiger","owner":{"login":"wiredtiger","id":1251095,"avatar_url":"https://avatars.githubusercontent.com/u/1251095?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredtiger","html_url":"https://github.com/wiredtiger","followers_url":"https://api.github.com/users/wiredtiger/followers","following_url":"https://api.github.com/users/wiredtiger/following{/other_user}","gists_url":"https://api.github.com/users/wiredtiger/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredtiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredtiger/subscriptions","organizations_url":"https://api.github.com/users/wiredtiger/orgs","repos_url":"https://api.github.com/users/wiredtiger/repos","events_url":"https://api.github.com/users/wiredtiger/events{/privacy}","received_events_url":"https://api.github.com/users/wiredtiger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wiredtiger/wiredtiger","description":"WiredTiger's source tree","fork":false,"url":"https://api.github.com/repos/wiredtiger/wiredtiger","forks_url":"https://api.github.com/repos/wiredtiger/wiredtiger/forks","keys_url":"https://api.github.com/repos/wiredtiger/wiredtiger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiredtiger/wiredtiger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiredtiger/wiredtiger/teams","hooks_url":"https://api.github.com/repos/wiredtiger/wiredtiger/hooks","issue_events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/events{/number}","events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/events","assignees_url":"https://api.github.com/repos/wiredtiger/wiredtiger/assignees{/user}","branches_url":"https://api.github.com/repos/wiredtiger/wiredtiger/branches{/branch}","tags_url":"https://api.github.com/repos/wiredtiger/wiredtiger/tags","blobs_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiredtiger/wiredtiger/statuses/{sha}","languages_url":"https://api.github.com/repos/wiredtiger/wiredtiger/languages","stargazers_url":"https://api.github.com/repos/wiredtiger/wiredtiger/stargazers","contributors_url":"https://api.github.com/repos/wiredtiger/wiredtiger/contributors","subscribers_url":"https://api.github.com/repos/wiredtiger/wiredtiger/subscribers","subscription_url":"https://api.github.com/repos/wiredtiger/wiredtiger/subscription","commits_url":"https://api.github.com/repos/wiredtiger/wiredtiger/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiredtiger/wiredtiger/contents/{+path}","compare_url":"https://api.github.com/repos/wiredtiger/wiredtiger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiredtiger/wiredtiger/merges","archive_url":"https://api.github.com/repos/wiredtiger/wiredtiger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiredtiger/wiredtiger/downloads","issues_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues{/number}","pulls_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls{/number}","milestones_url":"https://api.github.com/repos/wiredtiger/wiredtiger/milestones{/number}","notifications_url":"https://api.github.com/repos/wiredtiger/wiredtiger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiredtiger/wiredtiger/labels{/name}","releases_url":"https://api.github.com/repos/wiredtiger/wiredtiger/releases{/id}","created_at":"2011-12-09T00:43:19Z","updated_at":"2015-09-16T16:22:37Z","pushed_at":"2015-09-17T18:18:14Z","git_url":"git://github.com/wiredtiger/wiredtiger.git","ssh_url":"git@github.com:wiredtiger/wiredtiger.git","clone_url":"https://github.com/wiredtiger/wiredtiger.git","svn_url":"https://github.com/wiredtiger/wiredtiger","homepage":"http://source.wiredtiger.com/","size":107560,"stargazers_count":568,"watchers_count":568,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":6,"forks":96,"open_issues":6,"watchers":568,"default_branch":"master"}},"base":{"label":"wiredtiger:develop","ref":"develop","sha":"7505a02a52bc140acd0fcd81985c0e0ad2a78f7d","user":{"login":"wiredtiger","id":1251095,"avatar_url":"https://avatars.githubusercontent.com/u/1251095?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredtiger","html_url":"https://github.com/wiredtiger","followers_url":"https://api.github.com/users/wiredtiger/followers","following_url":"https://api.github.com/users/wiredtiger/following{/other_user}","gists_url":"https://api.github.com/users/wiredtiger/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredtiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredtiger/subscriptions","organizations_url":"https://api.github.com/users/wiredtiger/orgs","repos_url":"https://api.github.com/users/wiredtiger/repos","events_url":"https://api.github.com/users/wiredtiger/events{/privacy}","received_events_url":"https://api.github.com/users/wiredtiger/received_events","type":"Organization","site_admin":false},"repo":{"id":2944302,"name":"wiredtiger","full_name":"wiredtiger/wiredtiger","owner":{"login":"wiredtiger","id":1251095,"avatar_url":"https://avatars.githubusercontent.com/u/1251095?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredtiger","html_url":"https://github.com/wiredtiger","followers_url":"https://api.github.com/users/wiredtiger/followers","following_url":"https://api.github.com/users/wiredtiger/following{/other_user}","gists_url":"https://api.github.com/users/wiredtiger/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredtiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredtiger/subscriptions","organizations_url":"https://api.github.com/users/wiredtiger/orgs","repos_url":"https://api.github.com/users/wiredtiger/repos","events_url":"https://api.github.com/users/wiredtiger/events{/privacy}","received_events_url":"https://api.github.com/users/wiredtiger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wiredtiger/wiredtiger","description":"WiredTiger's source tree","fork":false,"url":"https://api.github.com/repos/wiredtiger/wiredtiger","forks_url":"https://api.github.com/repos/wiredtiger/wiredtiger/forks","keys_url":"https://api.github.com/repos/wiredtiger/wiredtiger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiredtiger/wiredtiger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiredtiger/wiredtiger/teams","hooks_url":"https://api.github.com/repos/wiredtiger/wiredtiger/hooks","issue_events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/events{/number}","events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/events","assignees_url":"https://api.github.com/repos/wiredtiger/wiredtiger/assignees{/user}","branches_url":"https://api.github.com/repos/wiredtiger/wiredtiger/branches{/branch}","tags_url":"https://api.github.com/repos/wiredtiger/wiredtiger/tags","blobs_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiredtiger/wiredtiger/statuses/{sha}","languages_url":"https://api.github.com/repos/wiredtiger/wiredtiger/languages","stargazers_url":"https://api.github.com/repos/wiredtiger/wiredtiger/stargazers","contributors_url":"https://api.github.com/repos/wiredtiger/wiredtiger/contributors","subscribers_url":"https://api.github.com/repos/wiredtiger/wiredtiger/subscribers","subscription_url":"https://api.github.com/repos/wiredtiger/wiredtiger/subscription","commits_url":"https://api.github.com/repos/wiredtiger/wiredtiger/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiredtiger/wiredtiger/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiredtiger/wiredtiger/contents/{+path}","compare_url":"https://api.github.com/repos/wiredtiger/wiredtiger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiredtiger/wiredtiger/merges","archive_url":"https://api.github.com/repos/wiredtiger/wiredtiger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiredtiger/wiredtiger/downloads","issues_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues{/number}","pulls_url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls{/number}","milestones_url":"https://api.github.com/repos/wiredtiger/wiredtiger/milestones{/number}","notifications_url":"https://api.github.com/repos/wiredtiger/wiredtiger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiredtiger/wiredtiger/labels{/name}","releases_url":"https://api.github.com/repos/wiredtiger/wiredtiger/releases{/id}","created_at":"2011-12-09T00:43:19Z","updated_at":"2015-09-16T16:22:37Z","pushed_at":"2015-09-17T18:18:14Z","git_url":"git://github.com/wiredtiger/wiredtiger.git","ssh_url":"git@github.com:wiredtiger/wiredtiger.git","clone_url":"https://github.com/wiredtiger/wiredtiger.git","svn_url":"https://github.com/wiredtiger/wiredtiger","homepage":"http://source.wiredtiger.com/","size":107560,"stargazers_count":568,"watchers_count":568,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":6,"forks":96,"open_issues":6,"watchers":568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195"},"html":{"href":"https://github.com/wiredtiger/wiredtiger/pull/2195"},"issue":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2195"},"comments":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2195/comments"},"review_comments":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195/comments"},"review_comment":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2195/commits"},"statuses":{"href":"https://api.github.com/repos/wiredtiger/wiredtiger/statuses/a5753bbddf4249d80df68dfe09cd0cd2bb9cbcfc"}}}}