{"action":"created","comment":{"url":"https://api.github.com/repos/cockroachdb/docs/pulls/comments/178336576","pull_request_review_id":108387255,"id":178336576,"diff_hunk":"@@ -306,6 +310,28 @@ Alternately, you can pass the YAML content via the standard input:\n $ echo 'num_replicas: 7' | cockroach zone set db1.t1 --insecure -f -\n ~~~\n \n+### Create a Replication Zone for a Table Partition <span class=\"version-tag\">New in v2.0</span>\n+\n+{{site.data.alerts.callout_info}}This is an <a href=\"enterprise-licensing.html\">enterprise-only</a> feature.{{site.data.alerts.end}}\n+\n+To [control replication for table partitions](partitioning.html#replication-zones), create a YAML file defining only the values you want to change (other values will not be affected), and use the `cockroach zone set <database.table.partition> -f <file.yaml>` command with appropriate flags:\n+\n+{% include copy-clipboard.html %}\n+~~~ shell\n+$ cat > australia.zone.yml\n+~~~\n+\n+~~~ shell","path":"v2.0/configure-replication-zones.md","position":51,"original_position":51,"commit_id":"21c766669c0507cbda7f46557fc154dbf57a395f","original_commit_id":"0c5b7a658a764b2ebf3a9eaeb46941a976926895","user":{"login":"Amruta-Ranade","id":11484018,"avatar_url":"https://avatars3.githubusercontent.com/u/11484018?v=4","gravatar_id":"","url":"https://api.github.com/users/Amruta-Ranade","html_url":"https://github.com/Amruta-Ranade","followers_url":"https://api.github.com/users/Amruta-Ranade/followers","following_url":"https://api.github.com/users/Amruta-Ranade/following{/other_user}","gists_url":"https://api.github.com/users/Amruta-Ranade/gists{/gist_id}","starred_url":"https://api.github.com/users/Amruta-Ranade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amruta-Ranade/subscriptions","organizations_url":"https://api.github.com/users/Amruta-Ranade/orgs","repos_url":"https://api.github.com/users/Amruta-Ranade/repos","events_url":"https://api.github.com/users/Amruta-Ranade/events{/privacy}","received_events_url":"https://api.github.com/users/Amruta-Ranade/received_events","type":"User","site_admin":false},"body":"Those are not responses. They are inputs to the file.","created_at":"2018-03-30T17:46:09Z","updated_at":"2018-03-30T18:00:25Z","html_url":"https://github.com/cockroachdb/docs/pull/2820#discussion_r178336576","pull_request_url":"https://api.github.com/repos/cockroachdb/docs/pulls/2820","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/comments/178336576"},"html":{"href":"https://github.com/cockroachdb/docs/pull/2820#discussion_r178336576"},"pull_request":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/2820"}},"in_reply_to_id":178210548},"pull_request":{"url":"https://api.github.com/repos/cockroachdb/docs/pulls/2820","id":178406256,"html_url":"https://github.com/cockroachdb/docs/pull/2820","diff_url":"https://github.com/cockroachdb/docs/pull/2820.diff","patch_url":"https://github.com/cockroachdb/docs/pull/2820.patch","issue_url":"https://api.github.com/repos/cockroachdb/docs/issues/2820","number":2820,"state":"open","locked":false,"title":"Partitioning individual doc updates","user":{"login":"Amruta-Ranade","id":11484018,"avatar_url":"https://avatars3.githubusercontent.com/u/11484018?v=4","gravatar_id":"","url":"https://api.github.com/users/Amruta-Ranade","html_url":"https://github.com/Amruta-Ranade","followers_url":"https://api.github.com/users/Amruta-Ranade/followers","following_url":"https://api.github.com/users/Amruta-Ranade/following{/other_user}","gists_url":"https://api.github.com/users/Amruta-Ranade/gists{/gist_id}","starred_url":"https://api.github.com/users/Amruta-Ranade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amruta-Ranade/subscriptions","organizations_url":"https://api.github.com/users/Amruta-Ranade/orgs","repos_url":"https://api.github.com/users/Amruta-Ranade/repos","events_url":"https://api.github.com/users/Amruta-Ranade/events{/privacy}","received_events_url":"https://api.github.com/users/Amruta-Ranade/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-29T18:29:30Z","updated_at":"2018-03-30T18:00:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7412882487aea83a799745c02689731fd1157fef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":808984040,"url":"https://api.github.com/repos/cockroachdb/docs/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cockroachdb/docs/pulls/2820/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/docs/pulls/2820/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/docs/issues/2820/comments","statuses_url":"https://api.github.com/repos/cockroachdb/docs/statuses/21c766669c0507cbda7f46557fc154dbf57a395f","head":{"label":"cockroachdb:partitioning_sql_stmt_updates","ref":"partitioning_sql_stmt_updates","sha":"21c766669c0507cbda7f46557fc154dbf57a395f","user":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":48004987,"name":"docs","full_name":"cockroachdb/docs","owner":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/docs","description":"CockroachDB user documentation","fork":false,"url":"https://api.github.com/repos/cockroachdb/docs","forks_url":"https://api.github.com/repos/cockroachdb/docs/forks","keys_url":"https://api.github.com/repos/cockroachdb/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/docs/teams","hooks_url":"https://api.github.com/repos/cockroachdb/docs/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/docs/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/docs/events","assignees_url":"https://api.github.com/repos/cockroachdb/docs/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/docs/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/docs/tags","blobs_url":"https://api.github.com/repos/cockroachdb/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/docs/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/docs/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/docs/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/docs/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/docs/subscription","commits_url":"https://api.github.com/repos/cockroachdb/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/docs/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/docs/merges","archive_url":"https://api.github.com/repos/cockroachdb/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/docs/downloads","issues_url":"https://api.github.com/repos/cockroachdb/docs/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/docs/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/docs/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/docs/deployments","created_at":"2015-12-14T22:29:27Z","updated_at":"2018-03-30T15:05:12Z","pushed_at":"2018-03-30T17:54:50Z","git_url":"git://github.com/cockroachdb/docs.git","ssh_url":"git@github.com:cockroachdb/docs.git","clone_url":"https://github.com/cockroachdb/docs.git","svn_url":"https://github.com/cockroachdb/docs","homepage":"https://cockroachlabs.com/docs/stable","size":85811,"stargazers_count":40,"watchers_count":40,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"archived":false,"open_issues_count":478,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":91,"open_issues":478,"watchers":40,"default_branch":"master"}},"base":{"label":"cockroachdb:master","ref":"master","sha":"cd7f446bb5d67d3a263f1a62f6cb3a35b0f6f860","user":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":48004987,"name":"docs","full_name":"cockroachdb/docs","owner":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars3.githubusercontent.com/u/6748139?v=4","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/docs","description":"CockroachDB user documentation","fork":false,"url":"https://api.github.com/repos/cockroachdb/docs","forks_url":"https://api.github.com/repos/cockroachdb/docs/forks","keys_url":"https://api.github.com/repos/cockroachdb/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/docs/teams","hooks_url":"https://api.github.com/repos/cockroachdb/docs/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/docs/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/docs/events","assignees_url":"https://api.github.com/repos/cockroachdb/docs/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/docs/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/docs/tags","blobs_url":"https://api.github.com/repos/cockroachdb/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/docs/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/docs/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/docs/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/docs/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/docs/subscription","commits_url":"https://api.github.com/repos/cockroachdb/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/docs/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/docs/merges","archive_url":"https://api.github.com/repos/cockroachdb/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/docs/downloads","issues_url":"https://api.github.com/repos/cockroachdb/docs/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/docs/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/docs/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/docs/deployments","created_at":"2015-12-14T22:29:27Z","updated_at":"2018-03-30T15:05:12Z","pushed_at":"2018-03-30T17:54:50Z","git_url":"git://github.com/cockroachdb/docs.git","ssh_url":"git@github.com:cockroachdb/docs.git","clone_url":"https://github.com/cockroachdb/docs.git","svn_url":"https://github.com/cockroachdb/docs","homepage":"https://cockroachlabs.com/docs/stable","size":85811,"stargazers_count":40,"watchers_count":40,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"archived":false,"open_issues_count":478,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":91,"open_issues":478,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/2820"},"html":{"href":"https://github.com/cockroachdb/docs/pull/2820"},"issue":{"href":"https://api.github.com/repos/cockroachdb/docs/issues/2820"},"comments":{"href":"https://api.github.com/repos/cockroachdb/docs/issues/2820/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/2820/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/docs/pulls/2820/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/docs/statuses/21c766669c0507cbda7f46557fc154dbf57a395f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Amruta-Ranade"}}