Skip to content

Commit 9c75ef1

Browse files
author
ebembi-crdb
committed
Archive cross-version documentation for v22.2 and earlier
Complete 3-step cross-version archival process removing support for v22.2, v22.1, v21.2, v21.1, v20.2, and v2.1 documentation versions. **Major Changes:** - Delete 1,769 archived version image assets - Fix 40+ cross-version references to point to supported versions - Update backward-incompatible links to use v23.2 (earliest supported) - Fix Jekyll SSL certificate verification for Ruby 3.4.3 + macOS - Add required Ruby 3.x gem dependencies **Cross-Version Link Fixes:** - Fix backward-incompatible files (9 files): v22.2 Jekyll links → v23.2 relative paths - Fix show-ranges deprecation notices: v22.2 links → archived documentation - Fix release notes and Kubernetes upgrade references - Fix replication zone mapping references across all supported versions **Infrastructure:** - Preserve existing minimal infrastructure (releases/v*.md stub pages) - Add openssl_fix.rb for Jekyll SSL bypass - Update Gemfile with Ruby 3.x compatibility gems - Fix Liquid syntax errors in image paths **Verification:** - All corrected links verified to exist and function - Cross-version references now cleanly separated (v23.1+ supported) - Jekyll server compatibility restored
1 parent 3159501 commit 9c75ef1

File tree

4,748 files changed

+3706
-584361
lines changed

Some content is hidden

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

4,748 files changed

+3706
-584361
lines changed

src/current/Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ gem "redcarpet", "~> 3.6"
1313
gem "rss"
1414
gem "webrick"
1515
gem "jekyll-minifier"
16+
gem 'csv'
17+
gem 'logger'
18+
gem 'base64'
19+
gem 'bigdecimal'
20+
gem 'mutex_m'
1621

1722
group :jekyll_plugins do
1823
gem "jekyll-include-cache"

src/current/_includes/releases/v23.1/v23.1.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Release Date: June 13, 2023
44

55
{{site.data.alerts.callout_danger}}
6-
A [bug](https://github.com/cockroachdb/cockroach/issues/104798) was discovered in a change included in v23.1.3 (this release). This bug can affect clusters upgrading to v23.1.3 from [v22.2.x]({% link releases/v22.2.md %}). In an affected cluster, jobs that were running during the upgrade could hang or fail to run after the upgrade is finalized. Users upgrading from v22.2.x are advised to use [v23.1.2](#v23-1-2) to upgrade, or to set the [`cluster.preserve_downgrade_option`]({% link v23.1/upgrade-cockroach-version.md %}#step-3-decide-how-the-upgrade-will-be-finalized) cluster setting to delay finalization of the upgrade until they can upgrade to v23.1.4.
6+
A [bug](https://github.com/cockroachdb/cockroach/issues/104798) was discovered in a change included in v23.1.3 (this release). This bug can affect clusters upgrading to v23.1.3 from [v22.2.x]({% link releases/v22.2.md %}). In an affected cluster, jobs that were running during the upgrade could hang or fail to run after the upgrade is finalized. Users upgrading from v22.2.x are advised to use [v23.1.2](#v23-1-2) to upgrade, or to set the `cluster.preserve_downgrade_option` cluster setting to delay finalization of the upgrade until they can upgrade to v23.1.4.
77
{{site.data.alerts.end}}
88

99
{% include releases/new-release-downloads-docker-image.md release=include.release %}

src/current/_includes/v23.1/backward-incompatible/alpha.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
- Optional: keep port `26257` for RPC, and allocate a new port, e.g., `26357`, for SQL connections. For example, you might configure a node with the flags `--listen-addr=:26257 --sql-addr=:26357`. When using this mode of operation, the `--join` flags do not need to be modified. However, SQL client apps or the SQL load balancer configuration (when in use) must be updated to use the new SQL port number. [#85671][#85671]
88
- If no `nullif` option is specified while using [`IMPORT CSV`](../v23.1/import.html), then a zero-length string in the input is now treated as `NULL`. The quoted empty string in the input is treated as an empty string. Similarly, if `nullif` is specified, then an unquoted value is treated as `NULL`, and a quoted value is treated as that string. These changes were made to make `IMPORT CSV` behave more similarly to `COPY CSV`. If the previous behavior (i.e., treating either quoted or unquoted values that match the `nullif` setting as `NULL`) is desired, you can use the new `allow_quoted_null` option in the `IMPORT` statement. [#84487][#84487]
99
- [`COPY FROM`](../v23.1/copy.html) operations are now atomic by default instead of being segmented into 100 row transactions. Set the `copy_from_atomic_enabled` session setting to `false` for the previous behavior. [#85986][#85986]
10-
- The `GRANT` privilege has been removed and replaced by the more granular [`WITH GRANT OPTION`]({% link v22.2/grant.md %}#grant-privileges-with-the-option-to-grant-to-others), which provides control over which privileges are allowed to be granted. [#81310][#81310]
10+
- The `GRANT` privilege has been removed and replaced by the more granular [`WITH GRANT OPTION`](../v23.2/grant.html#grant-privileges-with-the-option-to-grant-to-others), which provides control over which privileges are allowed to be granted. [#81310][#81310]
1111
- Removed the ability to cast `int`, `int2`, and `int8` to a `0` length `BIT` or `VARBIT`. [#81266][#81266]
1212
- Removed the deprecated `GRANT` privilege. [#81310][#81310]
1313
- Removed the `ttl_automatic_column` storage parameter. The `crdb_internal_expiration` column is created when `ttl_expire_after` is set and removed when `ttl_expire_after` is reset. [#83134][#83134]
1414
- Removed the byte string parameter in the `crdb_internal.schedule_sql_stats_compaction` function. [#82560][#82560]
15-
- Changed the default value of the `enable_implicit_transaction_for_batch_statements` to `true`. This means that a [batch of statements]({% link v22.2/transactions.md %}#batched-statements) sent in one string separated by semicolons is treated as an implicit transaction. [#76834][#76834]
15+
- Changed the default value of the `enable_implicit_transaction_for_batch_statements` to `true`. This means that a [batch of statements](../v23.2/transactions.html#batched-statements) sent in one string separated by semicolons is treated as an implicit transaction. [#76834][#76834]

src/current/_includes/v23.1/orchestration/kubernetes-upgrade-cluster-helm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Therefore, in order to upgrade to {{ page.version.version }}, you must be on a production release of {{ previous_version }}.
88

9-
1. If you are upgrading to {{ page.version.version }} from a production release earlier than {{ previous_version }}, or from a testing release (alpha/beta), first [upgrade to a production release of {{ previous_version }}]({% link {{ previous_version }}/upgrade-cockroachdb-kubernetes.md %}?filters=helm). Be sure to complete all the steps.
9+
1. If you are upgrading to {{ page.version.version }} from a production release earlier than {{ previous_version }}, or from a testing release (alpha/beta), first upgrade to a production release of {{ previous_version }}. See the [archived version documentation]({% link releases/unsupported-versions.md %}) for upgrade instructions. Be sure to complete all the steps.
1010

1111
1. Then return to this page and perform a second upgrade to {{ page.version.version }}.
1212

src/current/_includes/v23.1/orchestration/kubernetes-upgrade-cluster-manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Therefore, in order to upgrade to {{ page.version.version }}, you must be on a production release of {{ previous_version }}.
88

9-
1. If you are upgrading to {{ page.version.version }} from a production release earlier than {{ previous_version }}, or from a testing release (alpha/beta), first [upgrade to a production release of {{ previous_version }}]({% link {{ previous_version }}/upgrade-cockroachdb-kubernetes.md %}?filters=manual). Be sure to complete all the steps.
9+
1. If you are upgrading to {{ page.version.version }} from a production release earlier than {{ previous_version }}, or from a testing release (alpha/beta), first upgrade to a production release of {{ previous_version }}. See the [archived version documentation]({% link releases/unsupported-versions.md %}) for upgrade instructions. Be sure to complete all the steps.
1010

1111
1. Then return to this page and perform a second upgrade to {{ page.version.version }}.
1212

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
| Replication Zone Pattern | Multi-Region SQL |
22
|--------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------|
3-
| [Duplicate indexes]({% link v20.2/topology-duplicate-indexes.md %}) | [`GLOBAL` tables]({% link {{ page.version.version }}/global-tables.md %}) |
4-
| [Geo-partitioned replicas]({% link v20.2/topology-geo-partitioned-replicas.md %}) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`ZONE` survival goals](multiregion-survival-goals.html#survive-zone-failures) |
5-
| [Geo-partitioned leaseholders]({% link v20.2/topology-geo-partitioned-leaseholders.md %}) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`REGION` survival goals](multiregion-survival-goals.html#survive-region-failures) |
3+
| Duplicate indexes (deprecated pattern) | [`GLOBAL` tables]({% link {{ page.version.version }}/global-tables.md %}) |
4+
| Geo-partitioned replicas (deprecated pattern) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`ZONE` survival goals](multiregion-survival-goals.html#survive-zone-failures) |
5+
| Geo-partitioned leaseholders (deprecated pattern) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`REGION` survival goals](multiregion-survival-goals.html#survive-region-failures) |

src/current/_includes/v23.1/sql/show-ranges-output-deprecation-notice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The statement syntax and output documented on this page use the updated `SHOW RA
55
SET CLUSTER SETTING sql.show_ranges_deprecated_behavior.enabled = false;
66
~~~
77

8-
The pre-v23.1 output of `SHOW RANGES` is deprecated in v23.1 **and will be removed in v23.2**. To view the documentation for the deprecated version of the `SHOW RANGES` statement, see [`SHOW RANGES` (v22.2)]({% link v22.2/show-ranges.md %}).
8+
The pre-v23.1 output of `SHOW RANGES` is deprecated in v23.1 **and will be removed in v23.2**. To view the documentation for the deprecated version of the `SHOW RANGES` statement, see the [archived version documentation]({% link releases/unsupported-versions.md %}).
99

1010
When you use the deprecated version of the `SHOW RANGES` statement, the following message will appear, reminding you to update [the cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}#setting-sql-show-ranges-deprecated-behavior-enabled):
1111

src/current/_includes/v23.2/backward-incompatible/alpha.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
- Optional: keep port `26257` for RPC, and allocate a new port, e.g., `26357`, for SQL connections. For example, you might configure a node with the flags `--listen-addr=:26257 --sql-addr=:26357`. When using this mode of operation, the `--join` flags do not need to be modified. However, SQL client apps or the SQL load balancer configuration (when in use) must be updated to use the new SQL port number. [#85671][#85671]
88
- If no `nullif` option is specified while using [`IMPORT CSV`](../v23.1/import.html), then a zero-length string in the input is now treated as `NULL`. The quoted empty string in the input is treated as an empty string. Similarly, if `nullif` is specified, then an unquoted value is treated as `NULL`, and a quoted value is treated as that string. These changes were made to make `IMPORT CSV` behave more similarly to `COPY CSV`. If the previous behavior (i.e., treating either quoted or unquoted values that match the `nullif` setting as `NULL`) is desired, you can use the new `allow_quoted_null` option in the `IMPORT` statement. [#84487][#84487]
99
- [`COPY FROM`](../v23.1/copy.html) operations are now atomic by default instead of being segmented into 100 row transactions. Set the `copy_from_atomic_enabled` session setting to `false` for the previous behavior. [#85986][#85986]
10-
- The `GRANT` privilege has been removed and replaced by the more granular [`WITH GRANT OPTION`]({% link v22.2/grant.md %}#grant-privileges-with-the-option-to-grant-to-others), which provides control over which privileges are allowed to be granted. [#81310][#81310]
10+
- The `GRANT` privilege has been removed and replaced by the more granular [`WITH GRANT OPTION`](../v23.2/grant.html#grant-privileges-with-the-option-to-grant-to-others), which provides control over which privileges are allowed to be granted. [#81310][#81310]
1111
- Removed the ability to cast `int`, `int2`, and `int8` to a `0` length `BIT` or `VARBIT`. [#81266][#81266]
1212
- Removed the deprecated `GRANT` privilege. [#81310][#81310]
1313
- Removed the `ttl_automatic_column` storage parameter. The `crdb_internal_expiration` column is created when `ttl_expire_after` is set and removed when `ttl_expire_after` is reset. [#83134][#83134]
1414
- Removed the byte string parameter in the `crdb_internal.schedule_sql_stats_compaction` function. [#82560][#82560]
15-
- Changed the default value of the `enable_implicit_transaction_for_batch_statements` to `true`. This means that a [batch of statements]({% link v22.2/transactions.md %}#batched-statements) sent in one string separated by semicolons is treated as an implicit transaction. [#76834][#76834]
15+
- Changed the default value of the `enable_implicit_transaction_for_batch_statements` to `true`. This means that a [batch of statements](../v23.2/transactions.html#batched-statements) sent in one string separated by semicolons is treated as an implicit transaction. [#76834][#76834]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
| Replication Zone Pattern | Multi-Region SQL |
22
|--------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------|
3-
| [Duplicate indexes]({% link v20.2/topology-duplicate-indexes.md %}) | [`GLOBAL` tables]({% link {{ page.version.version }}/global-tables.md %}) |
4-
| [Geo-partitioned replicas]({% link v20.2/topology-geo-partitioned-replicas.md %}) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`ZONE` survival goals](multiregion-survival-goals.html#survive-zone-failures) |
5-
| [Geo-partitioned leaseholders]({% link v20.2/topology-geo-partitioned-leaseholders.md %}) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`REGION` survival goals](multiregion-survival-goals.html#survive-region-failures) |
3+
| Duplicate indexes (deprecated pattern) | [`GLOBAL` tables]({% link {{ page.version.version }}/global-tables.md %}) |
4+
| Geo-partitioned replicas (deprecated pattern) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`ZONE` survival goals](multiregion-survival-goals.html#survive-zone-failures) |
5+
| Geo-partitioned leaseholders (deprecated pattern) | [`REGIONAL BY ROW` tables]({% link {{ page.version.version }}/regional-tables.md %}#regional-by-row-tables) with [`REGION` survival goals](multiregion-survival-goals.html#survive-region-failures) |

src/current/_includes/v23.2/sql/show-ranges-output-deprecation-notice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The statement syntax and output documented on this page use the updated `SHOW RA
55
SET CLUSTER SETTING sql.show_ranges_deprecated_behavior.enabled = true;
66
~~~
77

8-
The pre-v23.1 output of `SHOW RANGES` was deprecated in v23.1 and will be removed in a future release. To view the documentation for the deprecated version of the `SHOW RANGES` statement, see [`SHOW RANGES` (v22.2)]({% link v22.2/show-ranges.md %}).
8+
The pre-v23.1 output of `SHOW RANGES` was deprecated in v23.1 and will be removed in a future release. To view the documentation for the deprecated version of the `SHOW RANGES` statement, see the [archived version documentation]({% link releases/unsupported-versions.md %}).
99

1010
When you use the deprecated version of the `SHOW RANGES` statement, the following message will appear, reminding you to update [the cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}#setting-sql-show-ranges-deprecated-behavior-enabled):
1111

0 commit comments

Comments
 (0)