{"action":"created","comment":{"url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments/35522939","id":35522939,"diff_hunk":"@@ -29,6 +31,23 @@ public GenericWriteProtocol(final MongoNamespace namespace, final RequestMessage\n     }\n \n     @Override\n+    protected void appendToWriteCommandResponseDocument(final RequestMessage curMessage, final RequestMessage nextMessage,\n+                                                        final WriteConcernResult writeConcernResult, final BsonDocument response) {\n+        throw new UnsupportedOperationException(\"Not implemented yet!\");","path":"driver-core/src/main/com/mongodb/connection/GenericWriteProtocol.java","position":15,"original_position":15,"commit_id":"2c49ab40eb27acf99d29445c4dcf297b44c5c372","original_commit_id":"2c49ab40eb27acf99d29445c4dcf297b44c5c372","user":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"body":"Its unclear to me if this means generic write protocols will fail.  Would a NOP be better?","created_at":"2015-07-27T10:27:31Z","updated_at":"2015-07-27T10:27:31Z","html_url":"https://github.com/jyemin/mongo-java-driver/pull/26#discussion_r35522939","pull_request_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments/35522939"},"html":{"href":"https://github.com/jyemin/mongo-java-driver/pull/26#discussion_r35522939"},"pull_request":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26","id":40181593,"html_url":"https://github.com/jyemin/mongo-java-driver/pull/26","diff_url":"https://github.com/jyemin/mongo-java-driver/pull/26.diff","patch_url":"https://github.com/jyemin/mongo-java-driver/pull/26.patch","issue_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/26","number":26,"state":"open","locked":false,"title":"JAVA-1887","user":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"body":"Generating command events in Protocol.execute for all implementations.\r\n\r\n* Command : Straightforward\r\n* Query : Up-converting to a find or an explain command and command response\r\n* GetMore: Up-converting to a getMore command and command response\r\n* KillCursors: Up-converting to a killCursors command and command response\r\n* Write*: Up-converting to insert/update/delete command and command response\r\n* WriteCommand*: Straightforward\r\n\r\nTo avoid double-encoding/decoding, passing command events instance of ByteBufBsonDocument, a package-private subclass of BsonDocument that sits on top of the raw BSON byte buffers that have been passed directly to the Stream implementations.\r\n","created_at":"2015-07-16T22:07:28Z","updated_at":"2015-07-27T10:27:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca1d9c4f98f46be4d8c34d211dd227062ec555ce","assignee":{"login":"rozza","id":420,"avatar_url":"https://avatars.githubusercontent.com/u/420?v=3","gravatar_id":"","url":"https://api.github.com/users/rozza","html_url":"https://github.com/rozza","followers_url":"https://api.github.com/users/rozza/followers","following_url":"https://api.github.com/users/rozza/following{/other_user}","gists_url":"https://api.github.com/users/rozza/gists{/gist_id}","starred_url":"https://api.github.com/users/rozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rozza/subscriptions","organizations_url":"https://api.github.com/users/rozza/orgs","repos_url":"https://api.github.com/users/rozza/repos","events_url":"https://api.github.com/users/rozza/events{/privacy}","received_events_url":"https://api.github.com/users/rozza/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26/commits","review_comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26/comments","review_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/26/comments","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/2c49ab40eb27acf99d29445c4dcf297b44c5c372","head":{"label":"jyemin:command-listener","ref":"command-listener","sha":"2c49ab40eb27acf99d29445c4dcf297b44c5c372","user":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"repo":{"id":2603134,"name":"mongo-java-driver","full_name":"jyemin/mongo-java-driver","owner":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jyemin/mongo-java-driver","description":"java driver for mongo","fork":true,"url":"https://api.github.com/repos/jyemin/mongo-java-driver","forks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/forks","keys_url":"https://api.github.com/repos/jyemin/mongo-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyemin/mongo-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyemin/mongo-java-driver/teams","hooks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/hooks","issue_events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/events","assignees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jyemin/mongo-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/tags","blobs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jyemin/mongo-java-driver/languages","stargazers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/stargazers","contributors_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contributors","subscribers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscribers","subscription_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscription","commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jyemin/mongo-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyemin/mongo-java-driver/merges","archive_url":"https://api.github.com/repos/jyemin/mongo-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyemin/mongo-java-driver/downloads","issues_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jyemin/mongo-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jyemin/mongo-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyemin/mongo-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/jyemin/mongo-java-driver/releases{/id}","created_at":"2011-10-19T00:37:59Z","updated_at":"2015-04-10T17:22:34Z","pushed_at":"2015-07-18T02:02:45Z","git_url":"git://github.com/jyemin/mongo-java-driver.git","ssh_url":"git@github.com:jyemin/mongo-java-driver.git","clone_url":"https://github.com/jyemin/mongo-java-driver.git","svn_url":"https://github.com/jyemin/mongo-java-driver","homepage":"","size":35888,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"jyemin:master","ref":"master","sha":"dfe49db1557b0cd0ac6e2792bda63a5ff3c06147","user":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"repo":{"id":2603134,"name":"mongo-java-driver","full_name":"jyemin/mongo-java-driver","owner":{"login":"jyemin","id":1111546,"avatar_url":"https://avatars.githubusercontent.com/u/1111546?v=3","gravatar_id":"","url":"https://api.github.com/users/jyemin","html_url":"https://github.com/jyemin","followers_url":"https://api.github.com/users/jyemin/followers","following_url":"https://api.github.com/users/jyemin/following{/other_user}","gists_url":"https://api.github.com/users/jyemin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyemin/subscriptions","organizations_url":"https://api.github.com/users/jyemin/orgs","repos_url":"https://api.github.com/users/jyemin/repos","events_url":"https://api.github.com/users/jyemin/events{/privacy}","received_events_url":"https://api.github.com/users/jyemin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jyemin/mongo-java-driver","description":"java driver for mongo","fork":true,"url":"https://api.github.com/repos/jyemin/mongo-java-driver","forks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/forks","keys_url":"https://api.github.com/repos/jyemin/mongo-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jyemin/mongo-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jyemin/mongo-java-driver/teams","hooks_url":"https://api.github.com/repos/jyemin/mongo-java-driver/hooks","issue_events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/jyemin/mongo-java-driver/events","assignees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/jyemin/mongo-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/tags","blobs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/jyemin/mongo-java-driver/languages","stargazers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/stargazers","contributors_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contributors","subscribers_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscribers","subscription_url":"https://api.github.com/repos/jyemin/mongo-java-driver/subscription","commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jyemin/mongo-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jyemin/mongo-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jyemin/mongo-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/jyemin/mongo-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jyemin/mongo-java-driver/merges","archive_url":"https://api.github.com/repos/jyemin/mongo-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jyemin/mongo-java-driver/downloads","issues_url":"https://api.github.com/repos/jyemin/mongo-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/jyemin/mongo-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/jyemin/mongo-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jyemin/mongo-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/jyemin/mongo-java-driver/releases{/id}","created_at":"2011-10-19T00:37:59Z","updated_at":"2015-04-10T17:22:34Z","pushed_at":"2015-07-18T02:02:45Z","git_url":"git://github.com/jyemin/mongo-java-driver.git","ssh_url":"git@github.com:jyemin/mongo-java-driver.git","clone_url":"https://github.com/jyemin/mongo-java-driver.git","svn_url":"https://github.com/jyemin/mongo-java-driver","homepage":"","size":35888,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26"},"html":{"href":"https://github.com/jyemin/mongo-java-driver/pull/26"},"issue":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/26"},"comments":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/jyemin/mongo-java-driver/statuses/2c49ab40eb27acf99d29445c4dcf297b44c5c372"}}}}