{"action":"created","comment":{"url":"https://api.github.com/repos/m3db/m3coordinator/pulls/comments/182473408","pull_request_review_id":113275792,"id":182473408,"diff_hunk":"@@ -0,0 +1,116 @@\n+// Copyright (c) 2018 Uber Technologies, Inc.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a copy\n+// of this software and associated documentation files (the \"Software\"), to deal\n+// in the Software without restriction, including without limitation the rights\n+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+// copies of the Software, and to permit persons to whom the Software is\n+// furnished to do so, subject to the following conditions:\n+//\n+// The above copyright notice and this permission notice shall be included in\n+// all copies or substantial portions of the Software.\n+//\n+// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+// THE SOFTWARE.\n+\n+package iter\n+\n+import (\n+\t\"time\"\n+\n+\t\"github.com/m3db/m3db/encoding\"\n+\t\"github.com/m3db/m3db/ts\"\n+\t\"github.com/m3db/m3x/ident\"\n+)\n+\n+// SeriesBlock is a placeholder until it is added to M3DB\n+type SeriesBlock struct {\n+\tStart          time.Time\n+\tEnd            time.Time\n+\tSeriesIterator encoding.SeriesIterator\n+}\n+\n+// SeriesBlocks is a placeholder until it is added to M3DB\n+type SeriesBlocks struct {\n+\tID        ident.ID\n+\tNamespace string\n+\tBlocks    []SeriesBlock\n+}\n+\n+// MultiNamespaceSeries is a single timeseries for multiple namespaces\n+type MultiNamespaceSeries []SeriesBlocks\n+\n+// ID enforces the same ID across namespaces\n+func (n MultiNamespaceSeries) ID() ident.ID { return n[0].ID }\n+\n+// ConsolidatedSeriesBlock is a single block for a given timeseries and namespace\n+// which contains all of the necessary SeriesIterators so that consolidation can\n+// happen across namespaces\n+type ConsolidatedSeriesBlock struct {","path":"ts/iter/types.go","position":54,"original_position":54,"commit_id":"ad466be89624ba52334ff1503b01ce526388e91c","original_commit_id":"ad466be89624ba52334ff1503b01ce526388e91c","user":{"login":"nikunjgit","id":1733496,"avatar_url":"https://avatars3.githubusercontent.com/u/1733496?v=4","gravatar_id":"","url":"https://api.github.com/users/nikunjgit","html_url":"https://github.com/nikunjgit","followers_url":"https://api.github.com/users/nikunjgit/followers","following_url":"https://api.github.com/users/nikunjgit/following{/other_user}","gists_url":"https://api.github.com/users/nikunjgit/gists{/gist_id}","starred_url":"https://api.github.com/users/nikunjgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikunjgit/subscriptions","organizations_url":"https://api.github.com/users/nikunjgit/orgs","repos_url":"https://api.github.com/users/nikunjgit/repos","events_url":"https://api.github.com/users/nikunjgit/events{/privacy}","received_events_url":"https://api.github.com/users/nikunjgit/received_events","type":"User","site_admin":false},"body":"change this to ConslidatedNSBlock","created_at":"2018-04-18T15:38:10Z","updated_at":"2018-04-18T15:38:10Z","html_url":"https://github.com/m3db/m3coordinator/pull/34#discussion_r182473408","pull_request_url":"https://api.github.com/repos/m3db/m3coordinator/pulls/34","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/comments/182473408"},"html":{"href":"https://github.com/m3db/m3coordinator/pull/34#discussion_r182473408"},"pull_request":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/m3db/m3coordinator/pulls/34","id":179490473,"html_url":"https://github.com/m3db/m3coordinator/pull/34","diff_url":"https://github.com/m3db/m3coordinator/pull/34.diff","patch_url":"https://github.com/m3db/m3coordinator/pull/34.patch","issue_url":"https://api.github.com/repos/m3db/m3coordinator/issues/34","number":34,"state":"open","locked":false,"title":"Convert M3DB blocks","user":{"login":"benraskin92","id":4688976,"avatar_url":"https://avatars0.githubusercontent.com/u/4688976?v=4","gravatar_id":"","url":"https://api.github.com/users/benraskin92","html_url":"https://github.com/benraskin92","followers_url":"https://api.github.com/users/benraskin92/followers","following_url":"https://api.github.com/users/benraskin92/following{/other_user}","gists_url":"https://api.github.com/users/benraskin92/gists{/gist_id}","starred_url":"https://api.github.com/users/benraskin92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benraskin92/subscriptions","organizations_url":"https://api.github.com/users/benraskin92/orgs","repos_url":"https://api.github.com/users/benraskin92/repos","events_url":"https://api.github.com/users/benraskin92/events{/privacy}","received_events_url":"https://api.github.com/users/benraskin92/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-04T19:35:00Z","updated_at":"2018-04-18T15:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57e395e7bff8d7639eb2678631c4ddce90eb3302","assignee":null,"assignees":[],"requested_reviewers":[{"login":"arnikola","id":14959893,"avatar_url":"https://avatars0.githubusercontent.com/u/14959893?v=4","gravatar_id":"","url":"https://api.github.com/users/arnikola","html_url":"https://github.com/arnikola","followers_url":"https://api.github.com/users/arnikola/followers","following_url":"https://api.github.com/users/arnikola/following{/other_user}","gists_url":"https://api.github.com/users/arnikola/gists{/gist_id}","starred_url":"https://api.github.com/users/arnikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnikola/subscriptions","organizations_url":"https://api.github.com/users/arnikola/orgs","repos_url":"https://api.github.com/users/arnikola/repos","events_url":"https://api.github.com/users/arnikola/events{/privacy}","received_events_url":"https://api.github.com/users/arnikola/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/m3db/m3coordinator/pulls/34/commits","review_comments_url":"https://api.github.com/repos/m3db/m3coordinator/pulls/34/comments","review_comment_url":"https://api.github.com/repos/m3db/m3coordinator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/m3db/m3coordinator/issues/34/comments","statuses_url":"https://api.github.com/repos/m3db/m3coordinator/statuses/ad466be89624ba52334ff1503b01ce526388e91c","head":{"label":"m3db:braskin/add_m3db_blocks","ref":"braskin/add_m3db_blocks","sha":"ad466be89624ba52334ff1503b01ce526388e91c","user":{"login":"m3db","id":19937171,"avatar_url":"https://avatars0.githubusercontent.com/u/19937171?v=4","gravatar_id":"","url":"https://api.github.com/users/m3db","html_url":"https://github.com/m3db","followers_url":"https://api.github.com/users/m3db/followers","following_url":"https://api.github.com/users/m3db/following{/other_user}","gists_url":"https://api.github.com/users/m3db/gists{/gist_id}","starred_url":"https://api.github.com/users/m3db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3db/subscriptions","organizations_url":"https://api.github.com/users/m3db/orgs","repos_url":"https://api.github.com/users/m3db/repos","events_url":"https://api.github.com/users/m3db/events{/privacy}","received_events_url":"https://api.github.com/users/m3db/received_events","type":"Organization","site_admin":false},"repo":{"id":110602995,"name":"m3coordinator","full_name":"m3db/m3coordinator","owner":{"login":"m3db","id":19937171,"avatar_url":"https://avatars0.githubusercontent.com/u/19937171?v=4","gravatar_id":"","url":"https://api.github.com/users/m3db","html_url":"https://github.com/m3db","followers_url":"https://api.github.com/users/m3db/followers","following_url":"https://api.github.com/users/m3db/following{/other_user}","gists_url":"https://api.github.com/users/m3db/gists{/gist_id}","starred_url":"https://api.github.com/users/m3db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3db/subscriptions","organizations_url":"https://api.github.com/users/m3db/orgs","repos_url":"https://api.github.com/users/m3db/repos","events_url":"https://api.github.com/users/m3db/events{/privacy}","received_events_url":"https://api.github.com/users/m3db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/m3db/m3coordinator","description":"Query and API server for single and multi-cluster M3DB deployments","fork":false,"url":"https://api.github.com/repos/m3db/m3coordinator","forks_url":"https://api.github.com/repos/m3db/m3coordinator/forks","keys_url":"https://api.github.com/repos/m3db/m3coordinator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m3db/m3coordinator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m3db/m3coordinator/teams","hooks_url":"https://api.github.com/repos/m3db/m3coordinator/hooks","issue_events_url":"https://api.github.com/repos/m3db/m3coordinator/issues/events{/number}","events_url":"https://api.github.com/repos/m3db/m3coordinator/events","assignees_url":"https://api.github.com/repos/m3db/m3coordinator/assignees{/user}","branches_url":"https://api.github.com/repos/m3db/m3coordinator/branches{/branch}","tags_url":"https://api.github.com/repos/m3db/m3coordinator/tags","blobs_url":"https://api.github.com/repos/m3db/m3coordinator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m3db/m3coordinator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m3db/m3coordinator/git/refs{/sha}","trees_url":"https://api.github.com/repos/m3db/m3coordinator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m3db/m3coordinator/statuses/{sha}","languages_url":"https://api.github.com/repos/m3db/m3coordinator/languages","stargazers_url":"https://api.github.com/repos/m3db/m3coordinator/stargazers","contributors_url":"https://api.github.com/repos/m3db/m3coordinator/contributors","subscribers_url":"https://api.github.com/repos/m3db/m3coordinator/subscribers","subscription_url":"https://api.github.com/repos/m3db/m3coordinator/subscription","commits_url":"https://api.github.com/repos/m3db/m3coordinator/commits{/sha}","git_commits_url":"https://api.github.com/repos/m3db/m3coordinator/git/commits{/sha}","comments_url":"https://api.github.com/repos/m3db/m3coordinator/comments{/number}","issue_comment_url":"https://api.github.com/repos/m3db/m3coordinator/issues/comments{/number}","contents_url":"https://api.github.com/repos/m3db/m3coordinator/contents/{+path}","compare_url":"https://api.github.com/repos/m3db/m3coordinator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m3db/m3coordinator/merges","archive_url":"https://api.github.com/repos/m3db/m3coordinator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m3db/m3coordinator/downloads","issues_url":"https://api.github.com/repos/m3db/m3coordinator/issues{/number}","pulls_url":"https://api.github.com/repos/m3db/m3coordinator/pulls{/number}","milestones_url":"https://api.github.com/repos/m3db/m3coordinator/milestones{/number}","notifications_url":"https://api.github.com/repos/m3db/m3coordinator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m3db/m3coordinator/labels{/name}","releases_url":"https://api.github.com/repos/m3db/m3coordinator/releases{/id}","deployments_url":"https://api.github.com/repos/m3db/m3coordinator/deployments","created_at":"2017-11-13T21:14:11Z","updated_at":"2018-04-17T16:07:52Z","pushed_at":"2018-04-18T15:11:38Z","git_url":"git://github.com/m3db/m3coordinator.git","ssh_url":"git@github.com:m3db/m3coordinator.git","clone_url":"https://github.com/m3db/m3coordinator.git","svn_url":"https://github.com/m3db/m3coordinator","homepage":"","size":7077,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"m3db:master","ref":"master","sha":"4a6f062ab66d078cf1851f70b4208ad6c815ca75","user":{"login":"m3db","id":19937171,"avatar_url":"https://avatars0.githubusercontent.com/u/19937171?v=4","gravatar_id":"","url":"https://api.github.com/users/m3db","html_url":"https://github.com/m3db","followers_url":"https://api.github.com/users/m3db/followers","following_url":"https://api.github.com/users/m3db/following{/other_user}","gists_url":"https://api.github.com/users/m3db/gists{/gist_id}","starred_url":"https://api.github.com/users/m3db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3db/subscriptions","organizations_url":"https://api.github.com/users/m3db/orgs","repos_url":"https://api.github.com/users/m3db/repos","events_url":"https://api.github.com/users/m3db/events{/privacy}","received_events_url":"https://api.github.com/users/m3db/received_events","type":"Organization","site_admin":false},"repo":{"id":110602995,"name":"m3coordinator","full_name":"m3db/m3coordinator","owner":{"login":"m3db","id":19937171,"avatar_url":"https://avatars0.githubusercontent.com/u/19937171?v=4","gravatar_id":"","url":"https://api.github.com/users/m3db","html_url":"https://github.com/m3db","followers_url":"https://api.github.com/users/m3db/followers","following_url":"https://api.github.com/users/m3db/following{/other_user}","gists_url":"https://api.github.com/users/m3db/gists{/gist_id}","starred_url":"https://api.github.com/users/m3db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m3db/subscriptions","organizations_url":"https://api.github.com/users/m3db/orgs","repos_url":"https://api.github.com/users/m3db/repos","events_url":"https://api.github.com/users/m3db/events{/privacy}","received_events_url":"https://api.github.com/users/m3db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/m3db/m3coordinator","description":"Query and API server for single and multi-cluster M3DB deployments","fork":false,"url":"https://api.github.com/repos/m3db/m3coordinator","forks_url":"https://api.github.com/repos/m3db/m3coordinator/forks","keys_url":"https://api.github.com/repos/m3db/m3coordinator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m3db/m3coordinator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m3db/m3coordinator/teams","hooks_url":"https://api.github.com/repos/m3db/m3coordinator/hooks","issue_events_url":"https://api.github.com/repos/m3db/m3coordinator/issues/events{/number}","events_url":"https://api.github.com/repos/m3db/m3coordinator/events","assignees_url":"https://api.github.com/repos/m3db/m3coordinator/assignees{/user}","branches_url":"https://api.github.com/repos/m3db/m3coordinator/branches{/branch}","tags_url":"https://api.github.com/repos/m3db/m3coordinator/tags","blobs_url":"https://api.github.com/repos/m3db/m3coordinator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m3db/m3coordinator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m3db/m3coordinator/git/refs{/sha}","trees_url":"https://api.github.com/repos/m3db/m3coordinator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m3db/m3coordinator/statuses/{sha}","languages_url":"https://api.github.com/repos/m3db/m3coordinator/languages","stargazers_url":"https://api.github.com/repos/m3db/m3coordinator/stargazers","contributors_url":"https://api.github.com/repos/m3db/m3coordinator/contributors","subscribers_url":"https://api.github.com/repos/m3db/m3coordinator/subscribers","subscription_url":"https://api.github.com/repos/m3db/m3coordinator/subscription","commits_url":"https://api.github.com/repos/m3db/m3coordinator/commits{/sha}","git_commits_url":"https://api.github.com/repos/m3db/m3coordinator/git/commits{/sha}","comments_url":"https://api.github.com/repos/m3db/m3coordinator/comments{/number}","issue_comment_url":"https://api.github.com/repos/m3db/m3coordinator/issues/comments{/number}","contents_url":"https://api.github.com/repos/m3db/m3coordinator/contents/{+path}","compare_url":"https://api.github.com/repos/m3db/m3coordinator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m3db/m3coordinator/merges","archive_url":"https://api.github.com/repos/m3db/m3coordinator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m3db/m3coordinator/downloads","issues_url":"https://api.github.com/repos/m3db/m3coordinator/issues{/number}","pulls_url":"https://api.github.com/repos/m3db/m3coordinator/pulls{/number}","milestones_url":"https://api.github.com/repos/m3db/m3coordinator/milestones{/number}","notifications_url":"https://api.github.com/repos/m3db/m3coordinator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m3db/m3coordinator/labels{/name}","releases_url":"https://api.github.com/repos/m3db/m3coordinator/releases{/id}","deployments_url":"https://api.github.com/repos/m3db/m3coordinator/deployments","created_at":"2017-11-13T21:14:11Z","updated_at":"2018-04-17T16:07:52Z","pushed_at":"2018-04-18T15:11:38Z","git_url":"git://github.com/m3db/m3coordinator.git","ssh_url":"git@github.com:m3db/m3coordinator.git","clone_url":"https://github.com/m3db/m3coordinator.git","svn_url":"https://github.com/m3db/m3coordinator","homepage":"","size":7077,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/34"},"html":{"href":"https://github.com/m3db/m3coordinator/pull/34"},"issue":{"href":"https://api.github.com/repos/m3db/m3coordinator/issues/34"},"comments":{"href":"https://api.github.com/repos/m3db/m3coordinator/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/m3db/m3coordinator/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/m3db/m3coordinator/statuses/ad466be89624ba52334ff1503b01ce526388e91c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nikunjgit"}}