Skip to content

Commit a084061

Browse files
authored
Secondary regions do not work with RBR tables (#19436)
Fixes DOC-8959 NB. This PR includes backported changes to v23.*, v24.*, and v25.*
1 parent f6df22e commit a084061

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+181
-7
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Secondary regions]({% link {{ page.version.version }}/multiregion-overview.md %}#secondary-regions) are not compatible with databases containing [`REGIONAL BY ROW`]({% link {{ page.version.version }}/table-localities.md %}#regional-by-row-tables) tables. CockroachDB does not prevent you from defining secondary regions on databases with regional by row tables, but the interaction of these features is not supported.
2+
3+
Therefore, Cockroach Labs recommends that you avoid defining secondary regions on databases that use regional by row table configurations.

src/current/_includes/v23.1/sql/regional-by-row-table-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ To take advantage of regional by row tables:
1212

1313
For instructions showing how to set a table's locality to `REGIONAL BY ROW` and configure the home regions of its rows, see [`ALTER TABLE ... SET LOCALITY`]({% link {{ page.version.version }}/alter-table.md %}#crdb_region).
1414

15-
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
15+
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
16+
17+
{{site.data.alerts.callout_danger}}
18+
{% include {{page.version.version}}/known-limitations/secondary-regions-with-regional-by-row-tables.md %}
19+
{{site.data.alerts.end}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Secondary regions]({% link {{ page.version.version }}/multiregion-overview.md %}#secondary-regions) are not compatible with databases containing [`REGIONAL BY ROW`]({% link {{ page.version.version }}/table-localities.md %}#regional-by-row-tables) tables. CockroachDB does not prevent you from defining secondary regions on databases with regional by row tables, but the interaction of these features is not supported.
2+
3+
Therefore, Cockroach Labs recommends that you avoid defining secondary regions on databases that use regional by row table configurations.

src/current/_includes/v23.2/sql/regional-by-row-table-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ To take advantage of regional by row tables:
1212

1313
For instructions showing how to set a table's locality to `REGIONAL BY ROW` and configure the home regions of its rows, see [`ALTER TABLE ... SET LOCALITY`]({% link {{ page.version.version }}/alter-table.md %}#crdb_region).
1414

15-
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
15+
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
16+
17+
{{site.data.alerts.callout_danger}}
18+
{% include {{page.version.version}}/known-limitations/secondary-regions-with-regional-by-row-tables.md %}
19+
{{site.data.alerts.end}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Secondary regions]({% link {{ page.version.version }}/multiregion-overview.md %}#secondary-regions) are not compatible with databases containing [`REGIONAL BY ROW`]({% link {{ page.version.version }}/table-localities.md %}#regional-by-row-tables) tables. CockroachDB does not prevent you from defining secondary regions on databases with regional by row tables, but the interaction of these features is not supported.
2+
3+
Therefore, Cockroach Labs recommends that you avoid defining secondary regions on databases that use regional by row table configurations.

src/current/_includes/v24.1/sql/regional-by-row-table-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ To take advantage of regional by row tables:
1212

1313
For instructions showing how to set a table's locality to `REGIONAL BY ROW` and configure the home regions of its rows, see [`ALTER TABLE ... SET LOCALITY`]({% link {{ page.version.version }}/alter-table.md %}#crdb_region).
1414

15-
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
15+
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
16+
17+
{{site.data.alerts.callout_danger}}
18+
{% include {{page.version.version}}/known-limitations/secondary-regions-with-regional-by-row-tables.md %}
19+
{{site.data.alerts.end}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Secondary regions]({% link {{ page.version.version }}/multiregion-overview.md %}#secondary-regions) are not compatible with databases containing [`REGIONAL BY ROW`]({% link {{ page.version.version }}/table-localities.md %}#regional-by-row-tables) tables. CockroachDB does not prevent you from defining secondary regions on databases with regional by row tables, but the interaction of these features is not supported.
2+
3+
Therefore, Cockroach Labs recommends that you avoid defining secondary regions on databases that use regional by row table configurations.

src/current/_includes/v24.2/sql/regional-by-row-table-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ To take advantage of regional by row tables:
1212

1313
For instructions showing how to set a table's locality to `REGIONAL BY ROW` and configure the home regions of its rows, see [`ALTER TABLE ... SET LOCALITY`]({% link {{ page.version.version }}/alter-table.md %}#crdb_region).
1414

15-
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
15+
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
16+
17+
{{site.data.alerts.callout_danger}}
18+
{% include {{page.version.version}}/known-limitations/secondary-regions-with-regional-by-row-tables.md %}
19+
{{site.data.alerts.end}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Secondary regions]({% link {{ page.version.version }}/multiregion-overview.md %}#secondary-regions) are not compatible with databases containing [`REGIONAL BY ROW`]({% link {{ page.version.version }}/table-localities.md %}#regional-by-row-tables) tables. CockroachDB does not prevent you from defining secondary regions on databases with regional by row tables, but the interaction of these features is not supported.
2+
3+
Therefore, Cockroach Labs recommends that you avoid defining secondary regions on databases that use regional by row table configurations.

src/current/_includes/v24.3/sql/regional-by-row-table-description.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ To take advantage of regional by row tables:
1212

1313
For instructions showing how to set a table's locality to `REGIONAL BY ROW` and configure the home regions of its rows, see [`ALTER TABLE ... SET LOCALITY`]({% link {{ page.version.version }}/alter-table.md %}#crdb_region).
1414

15-
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
15+
For more information on regional by row tables, see the [Cockroach Labs blog post](https://www.cockroachlabs.com/blog/regional-by-row/).
16+
17+
{{site.data.alerts.callout_danger}}
18+
{% include {{page.version.version}}/known-limitations/secondary-regions-with-regional-by-row-tables.md %}
19+
{{site.data.alerts.end}}

0 commit comments

Comments
 (0)