{"action":"created","comment":{"url":"https://api.github.com/repos/linkedin/ambry/pulls/comments/74547280","id":74547280,"diff_hunk":"@@ -49,6 +49,15 @@\n   public Future<ReadableStreamChannel> getBlob(String blobId);\n \n   /**\n+   * Requests for blob data asynchronously and returns a future that will eventually contain a\n+   * {@link ReadableStreamChannel} that represents blob data on a successful response.\n+   * @param blobId The ID of the blob for which blob data is requested.\n+   * @param options The options associated with the request.","path":"ambry-api/src/main/java/com.github.ambry/router/Router.java","position":7,"original_position":7,"commit_id":"02a9b1d6be0e38ff1acd689927fbf3325a29b7d3","original_commit_id":"02a9b1d6be0e38ff1acd689927fbf3325a29b7d3","user":{"login":"xiahome","id":8271368,"avatar_url":"https://avatars.githubusercontent.com/u/8271368?v=3","gravatar_id":"","url":"https://api.github.com/users/xiahome","html_url":"https://github.com/xiahome","followers_url":"https://api.github.com/users/xiahome/followers","following_url":"https://api.github.com/users/xiahome/following{/other_user}","gists_url":"https://api.github.com/users/xiahome/gists{/gist_id}","starred_url":"https://api.github.com/users/xiahome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiahome/subscriptions","organizations_url":"https://api.github.com/users/xiahome/orgs","repos_url":"https://api.github.com/users/xiahome/repos","events_url":"https://api.github.com/users/xiahome/events{/privacy}","received_events_url":"https://api.github.com/users/xiahome/received_events","type":"User","site_admin":false},"body":"The {@link GetBlobOption}s ...","created_at":"2016-08-12T06:42:53Z","updated_at":"2016-08-12T06:42:53Z","html_url":"https://github.com/linkedin/ambry/pull/427#discussion_r74547280","pull_request_url":"https://api.github.com/repos/linkedin/ambry/pulls/427","_links":{"self":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/comments/74547280"},"html":{"href":"https://github.com/linkedin/ambry/pull/427#discussion_r74547280"},"pull_request":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/427"}}},"pull_request":{"url":"https://api.github.com/repos/linkedin/ambry/pulls/427","id":81000661,"html_url":"https://github.com/linkedin/ambry/pull/427","diff_url":"https://github.com/linkedin/ambry/pull/427.diff","patch_url":"https://github.com/linkedin/ambry/pull/427.patch","issue_url":"https://api.github.com/repos/linkedin/ambry/issues/427","number":427,"state":"open","locked":false,"title":"Router level range request support","user":{"login":"cgtz","id":3821381,"avatar_url":"https://avatars.githubusercontent.com/u/3821381?v=3","gravatar_id":"","url":"https://api.github.com/users/cgtz","html_url":"https://github.com/cgtz","followers_url":"https://api.github.com/users/cgtz/followers","following_url":"https://api.github.com/users/cgtz/following{/other_user}","gists_url":"https://api.github.com/users/cgtz/gists{/gist_id}","starred_url":"https://api.github.com/users/cgtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgtz/subscriptions","organizations_url":"https://api.github.com/users/cgtz/orgs","repos_url":"https://api.github.com/users/cgtz/repos","events_url":"https://api.github.com/users/cgtz/events{/privacy}","received_events_url":"https://api.github.com/users/cgtz/received_events","type":"User","site_admin":false},"body":"This patch introduces the following changes to support range requests at the router level:\r\n- An addition to the router interface to allow users to pass in sets of\r\n  options (such as GetBlobRange) to GetBlob operations.\r\n- An implementation of range request filtering in GetBlobOperation. Upon\r\n  receiving a range request, only the data chunks within the range will\r\n  be fetched. Because complete chunks are fetched from the server node,\r\n  the first and last chunk in the range are trimmed by the router to\r\n  only include bytes in the range.\r\n- Error handling for non-satisfiable range requests (missing composite\r\n  blob metadata or ranges that exceed the total blob size.)\r\n- Additional metrics for range requests.\r\n\r\nSee #412 for the corresponding design doc.\r\n\r\n**Reviewers:** @pnarayanan, @xiahome \r\n\r\n**Time:** 40 min.","created_at":"2016-08-11T17:50:54Z","updated_at":"2016-08-12T06:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd184c3a03f38a86abb18a58aa64e56ff2d7e2d9","assignee":{"login":"pnarayanan","id":1454915,"avatar_url":"https://avatars.githubusercontent.com/u/1454915?v=3","gravatar_id":"","url":"https://api.github.com/users/pnarayanan","html_url":"https://github.com/pnarayanan","followers_url":"https://api.github.com/users/pnarayanan/followers","following_url":"https://api.github.com/users/pnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/pnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/pnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnarayanan/subscriptions","organizations_url":"https://api.github.com/users/pnarayanan/orgs","repos_url":"https://api.github.com/users/pnarayanan/repos","events_url":"https://api.github.com/users/pnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/pnarayanan/received_events","type":"User","site_admin":false},"assignees":[{"login":"pnarayanan","id":1454915,"avatar_url":"https://avatars.githubusercontent.com/u/1454915?v=3","gravatar_id":"","url":"https://api.github.com/users/pnarayanan","html_url":"https://github.com/pnarayanan","followers_url":"https://api.github.com/users/pnarayanan/followers","following_url":"https://api.github.com/users/pnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/pnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/pnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnarayanan/subscriptions","organizations_url":"https://api.github.com/users/pnarayanan/orgs","repos_url":"https://api.github.com/users/pnarayanan/repos","events_url":"https://api.github.com/users/pnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/pnarayanan/received_events","type":"User","site_admin":false},{"login":"xiahome","id":8271368,"avatar_url":"https://avatars.githubusercontent.com/u/8271368?v=3","gravatar_id":"","url":"https://api.github.com/users/xiahome","html_url":"https://github.com/xiahome","followers_url":"https://api.github.com/users/xiahome/followers","following_url":"https://api.github.com/users/xiahome/following{/other_user}","gists_url":"https://api.github.com/users/xiahome/gists{/gist_id}","starred_url":"https://api.github.com/users/xiahome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiahome/subscriptions","organizations_url":"https://api.github.com/users/xiahome/orgs","repos_url":"https://api.github.com/users/xiahome/repos","events_url":"https://api.github.com/users/xiahome/events{/privacy}","received_events_url":"https://api.github.com/users/xiahome/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/linkedin/ambry/pulls/427/commits","review_comments_url":"https://api.github.com/repos/linkedin/ambry/pulls/427/comments","review_comment_url":"https://api.github.com/repos/linkedin/ambry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linkedin/ambry/issues/427/comments","statuses_url":"https://api.github.com/repos/linkedin/ambry/statuses/02a9b1d6be0e38ff1acd689927fbf3325a29b7d3","head":{"label":"cgtz:router-range-req","ref":"router-range-req","sha":"02a9b1d6be0e38ff1acd689927fbf3325a29b7d3","user":{"login":"cgtz","id":3821381,"avatar_url":"https://avatars.githubusercontent.com/u/3821381?v=3","gravatar_id":"","url":"https://api.github.com/users/cgtz","html_url":"https://github.com/cgtz","followers_url":"https://api.github.com/users/cgtz/followers","following_url":"https://api.github.com/users/cgtz/following{/other_user}","gists_url":"https://api.github.com/users/cgtz/gists{/gist_id}","starred_url":"https://api.github.com/users/cgtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgtz/subscriptions","organizations_url":"https://api.github.com/users/cgtz/orgs","repos_url":"https://api.github.com/users/cgtz/repos","events_url":"https://api.github.com/users/cgtz/events{/privacy}","received_events_url":"https://api.github.com/users/cgtz/received_events","type":"User","site_admin":false},"repo":{"id":54433244,"name":"ambry","full_name":"cgtz/ambry","owner":{"login":"cgtz","id":3821381,"avatar_url":"https://avatars.githubusercontent.com/u/3821381?v=3","gravatar_id":"","url":"https://api.github.com/users/cgtz","html_url":"https://github.com/cgtz","followers_url":"https://api.github.com/users/cgtz/followers","following_url":"https://api.github.com/users/cgtz/following{/other_user}","gists_url":"https://api.github.com/users/cgtz/gists{/gist_id}","starred_url":"https://api.github.com/users/cgtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgtz/subscriptions","organizations_url":"https://api.github.com/users/cgtz/orgs","repos_url":"https://api.github.com/users/cgtz/repos","events_url":"https://api.github.com/users/cgtz/events{/privacy}","received_events_url":"https://api.github.com/users/cgtz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgtz/ambry","description":"Immutable blob store","fork":true,"url":"https://api.github.com/repos/cgtz/ambry","forks_url":"https://api.github.com/repos/cgtz/ambry/forks","keys_url":"https://api.github.com/repos/cgtz/ambry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgtz/ambry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgtz/ambry/teams","hooks_url":"https://api.github.com/repos/cgtz/ambry/hooks","issue_events_url":"https://api.github.com/repos/cgtz/ambry/issues/events{/number}","events_url":"https://api.github.com/repos/cgtz/ambry/events","assignees_url":"https://api.github.com/repos/cgtz/ambry/assignees{/user}","branches_url":"https://api.github.com/repos/cgtz/ambry/branches{/branch}","tags_url":"https://api.github.com/repos/cgtz/ambry/tags","blobs_url":"https://api.github.com/repos/cgtz/ambry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgtz/ambry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgtz/ambry/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgtz/ambry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgtz/ambry/statuses/{sha}","languages_url":"https://api.github.com/repos/cgtz/ambry/languages","stargazers_url":"https://api.github.com/repos/cgtz/ambry/stargazers","contributors_url":"https://api.github.com/repos/cgtz/ambry/contributors","subscribers_url":"https://api.github.com/repos/cgtz/ambry/subscribers","subscription_url":"https://api.github.com/repos/cgtz/ambry/subscription","commits_url":"https://api.github.com/repos/cgtz/ambry/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgtz/ambry/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgtz/ambry/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgtz/ambry/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgtz/ambry/contents/{+path}","compare_url":"https://api.github.com/repos/cgtz/ambry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgtz/ambry/merges","archive_url":"https://api.github.com/repos/cgtz/ambry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgtz/ambry/downloads","issues_url":"https://api.github.com/repos/cgtz/ambry/issues{/number}","pulls_url":"https://api.github.com/repos/cgtz/ambry/pulls{/number}","milestones_url":"https://api.github.com/repos/cgtz/ambry/milestones{/number}","notifications_url":"https://api.github.com/repos/cgtz/ambry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgtz/ambry/labels{/name}","releases_url":"https://api.github.com/repos/cgtz/ambry/releases{/id}","deployments_url":"https://api.github.com/repos/cgtz/ambry/deployments","created_at":"2016-03-22T00:38:34Z","updated_at":"2016-05-04T03:19:05Z","pushed_at":"2016-08-11T18:41:48Z","git_url":"git://github.com/cgtz/ambry.git","ssh_url":"git@github.com:cgtz/ambry.git","clone_url":"https://github.com/cgtz/ambry.git","svn_url":"https://github.com/cgtz/ambry","homepage":null,"size":7294,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"linkedin:master","ref":"master","sha":"18a4aac5ff3f7edec88b2b549e7a853bd63bca64","user":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"repo":{"id":13870893,"name":"ambry","full_name":"linkedin/ambry","owner":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linkedin/ambry","description":"Distributed object store","fork":false,"url":"https://api.github.com/repos/linkedin/ambry","forks_url":"https://api.github.com/repos/linkedin/ambry/forks","keys_url":"https://api.github.com/repos/linkedin/ambry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkedin/ambry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkedin/ambry/teams","hooks_url":"https://api.github.com/repos/linkedin/ambry/hooks","issue_events_url":"https://api.github.com/repos/linkedin/ambry/issues/events{/number}","events_url":"https://api.github.com/repos/linkedin/ambry/events","assignees_url":"https://api.github.com/repos/linkedin/ambry/assignees{/user}","branches_url":"https://api.github.com/repos/linkedin/ambry/branches{/branch}","tags_url":"https://api.github.com/repos/linkedin/ambry/tags","blobs_url":"https://api.github.com/repos/linkedin/ambry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkedin/ambry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkedin/ambry/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkedin/ambry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkedin/ambry/statuses/{sha}","languages_url":"https://api.github.com/repos/linkedin/ambry/languages","stargazers_url":"https://api.github.com/repos/linkedin/ambry/stargazers","contributors_url":"https://api.github.com/repos/linkedin/ambry/contributors","subscribers_url":"https://api.github.com/repos/linkedin/ambry/subscribers","subscription_url":"https://api.github.com/repos/linkedin/ambry/subscription","commits_url":"https://api.github.com/repos/linkedin/ambry/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkedin/ambry/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkedin/ambry/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkedin/ambry/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkedin/ambry/contents/{+path}","compare_url":"https://api.github.com/repos/linkedin/ambry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkedin/ambry/merges","archive_url":"https://api.github.com/repos/linkedin/ambry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkedin/ambry/downloads","issues_url":"https://api.github.com/repos/linkedin/ambry/issues{/number}","pulls_url":"https://api.github.com/repos/linkedin/ambry/pulls{/number}","milestones_url":"https://api.github.com/repos/linkedin/ambry/milestones{/number}","notifications_url":"https://api.github.com/repos/linkedin/ambry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkedin/ambry/labels{/name}","releases_url":"https://api.github.com/repos/linkedin/ambry/releases{/id}","deployments_url":"https://api.github.com/repos/linkedin/ambry/deployments","created_at":"2013-10-25T20:04:54Z","updated_at":"2016-08-11T09:24:02Z","pushed_at":"2016-08-11T18:01:10Z","git_url":"git://github.com/linkedin/ambry.git","ssh_url":"git@github.com:linkedin/ambry.git","clone_url":"https://github.com/linkedin/ambry.git","svn_url":"https://github.com/linkedin/ambry","homepage":"https://github.com/linkedin/ambry/wiki","size":8462,"stargazers_count":701,"watchers_count":701,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":38,"forks":97,"open_issues":38,"watchers":701,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/427"},"html":{"href":"https://github.com/linkedin/ambry/pull/427"},"issue":{"href":"https://api.github.com/repos/linkedin/ambry/issues/427"},"comments":{"href":"https://api.github.com/repos/linkedin/ambry/issues/427/comments"},"review_comments":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/427/comments"},"review_comment":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linkedin/ambry/pulls/427/commits"},"statuses":{"href":"https://api.github.com/repos/linkedin/ambry/statuses/02a9b1d6be0e38ff1acd689927fbf3325a29b7d3"}}}}
{"actor":{"display_login":"xiahome"}}