Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenSauce committed May 23, 2024
2 parents 07bfbaa + c366b17 commit 7bb3f8d
Show file tree
Hide file tree
Showing 89 changed files with 1,882 additions and 669 deletions.
4 changes: 2 additions & 2 deletions src/current/_config_cockroachdb.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
baseurl: /docs
current_cloud_version: v23.2
current_cloud_version: v24.1
destination: _site/docs
homepage_title: CockroachDB Docs
versions:
stable: v23.2
stable: v24.1
dev: v24.1
1 change: 1 addition & 0 deletions src/current/_data/cloud_releases.csv
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ date,sha
2024-04-17,null
2024-04-18,null
2024-05-12,null
2024-05-20,null
6 changes: 0 additions & 6 deletions src/current/_data/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@

# Pages undergoing maintenance

- destination: migration-overview.md
sources:
- migrate-from-oracle.md
temporary: true
versions: ['v21.2', 'v22.1', 'v22.2', 'v23.1']

# Renamed pages

- destination: admin-ui-overview.md
Expand Down
34 changes: 34 additions & 0 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6068,3 +6068,37 @@
docker_arm_limited_access: false
source: true
previous_release: v24.1.0-rc.1

- release_name: v24.1.0
major_version: v24.1
release_date: '2024-05-20'
release_type: Production
cloud_only: true
cloud_only_message_short: 'Available in CockroachDB Dedicated. Self-hosted binaries <a href="https://www.cockroachlabs.com/docs/releases/v24.1#v24-1-0">available June 3, 2024</a> per the <a href="https://www.cockroachlabs.com/docs/releases/staged-release-process">staged release process</a>.'
cloud_only_message: >
CockroachDB v24.1 is now generally available for CockroachDB Dedicated,
and is scheduled to be made available for CockroachDB Self-Hosted on June 3, 2024 per the <a href="https://www.cockroachlabs.com/docs/releases/staged-release-process">staged release process</a>.
For more information, refer to
[Upgrade to CockroachDB v24.1](https://www.cockroachlabs.com/docs/cockroachcloud/upgrade-to-v24.1). To connect to a CockroachDB Dedicated cluster on v24.1, refer to [Connect to a CockroachDB Dedicated Cluster](https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-your-cluster).
go_version: go1.22.0
sha: 6205244e922606f85761dad2137b842f43a53716
has_sql_only: true
has_sha256sum: true
mac:
mac_arm: true
mac_arm_experimental: true
mac_arm_limited_access: false
windows: true
linux:
linux_arm: true
linux_arm_experimental: false
linux_arm_limited_access: false
linux_intel_fips: true
linux_arm_fips: false
docker:
docker_image: cockroachdb/cockroach-unstable
docker_arm: true
docker_arm_experimental: false
docker_arm_limited_access: false
source: true
previous_release: v24.1.0-rc.2
2 changes: 1 addition & 1 deletion src/current/_data/versions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ v22.1,2022-05-24,2023-05-24,2023-11-24,N/A,N/A,N/A,N/A,N/A,v21.2,release-22.1
v22.2,2022-12-05,2023-12-05,2024-06-05,N/A,N/A,N/A,N/A,N/A,v22.1,release-22.2
v23.1,2023-05-15,2024-05-15,2024-11-15,23.1.11,23.1.12,2023-11-13,2024-11-13,2025-11-13,v22.2,release-23.1
v23.2,2024-02-05,2025-02-05,2025-08-05,N/A,N/A,N/A,N/A,N/A,v23.1,release-23.2
v24.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v23.2,release-24.1
v24.1,2024-05-20,2025-05-20,2025-11-20,N/A,N/A,N/A,N/A,N/A,v23.2,release-24.1
19 changes: 19 additions & 0 deletions src/current/_includes/releases/cloud/2024-05-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# May 20, 2024

<h3 id="2024-05-20-general-updates"> General updates </h3>

- CockroachDB v24.1 is now generally available for CockroachDB {{ site.data.products.dedicated }}, and is scheduled to be made available for CockroachDB {{ site.data.products.core }} on June 3, 2024{% comment %}Verify{% endcomment %}. For more information, refer to [Create a CockroachDB Dedicated Cluster]({% link cockroachcloud/create-your-cluster.md %}) or [Upgrade to CockroachDB v24.1]({% link cockroachcloud/upgrade-to-v24.1.md %}).
- CockroachDB {{ site.data.products.dedicated }} on AWS is now available in the `me-central-1`(United Arab Emirates) [ region]({% link cockroachcloud/regions.md %}#aws-regions).
- CockroachDB {{ site.data.products.dedicated }} on GCP is now available in new [regions]({% link cockroachcloud/regions.md %}#gcp-regions):
- `europe-southwest1` (Madrid)
- `europe-west8` (Milan)
- `europe-west12` (Paris)
- `me-central1` (Doha)
- `me-west1` (Tel Aviv)
- `us-east5` (Columbus)
- `us-south1` (Dallas)

<h3 id="2024-05-20-security-updates"> Security updates </h3>

- [Configuring private connectivity using Google Cloud Private Service Connect]({% link cockroachcloud/connect-to-your-cluster.md %}#gcp-private-service-connect) is available in [preview](https://www.cockroachlabs.com/docs/{{site.current_cloud_version}}/cockroachdb-feature-availability) for CockroachDB {{ site.data.products.dedicated }} clusters on GCP. [Private connectivity]({% link cockroachcloud/network-authorization.md %}#options-for-controlling-network-access) allows you to establish SQL access to a CockroachDB {{ site.data.products.dedicated }} cluster entirely through cloud provider private infrastructure, without exposing the cluster to the public internet, affording enhanced security and performance.

2 changes: 1 addition & 1 deletion src/current/_includes/releases/v23.1/v23.1.0-beta.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Release Date: April 17, 2023

<h3 id="v23-1-0-beta-2-performance-improvements">Performance improvements</h3>

- Pubsub sink [changefeeds](https://www.cockroachlabs.com/docs/v23.1/create-changefeed) can now support higher throughputs by enabling the `changefeed.new_pubsub_sink_enabled` [cluster setting](https://www.cockroachlabs.com/docs/v23.1/cluster-settings). [#100930][#100930]
- Google Cloud Pub/Sub sink [changefeeds](https://www.cockroachlabs.com/docs/v23.1/create-changefeed) can now support higher throughputs by enabling the `changefeed.new_pubsub_sink_enabled` [cluster setting](https://www.cockroachlabs.com/docs/v23.1/cluster-settings). Enabling this setting will cause changefeeds to use a newer Pub/Sub sink, which uses capitalized top-level fields in the message: `{Key: ..., Value: ..., Topic: ...}`. As a result, you may need to reconfigure downstream systems to parse the new message format. If you do not enable `changefeed.new_pubsub_sink_enabled`, the top-level message fields remain all lowercase: `{key: ..., value: ..., topic: ...}`. [#100930][#100930]

<div class="release-note-contributors" markdown="1">

Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v23.1/v23.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Asyncpg is commonly used with ORM libraries such as SQLAlchemy to provide a simp
</tbody>
</table>

<h4 id="v23-1-0-recovery-and-io">Recovery and I/O</h4>
<h4 id="v23-1-0-recovery-and-io" markdown="1">Recovery and I/O</h4>

<h5>Change data capture (Changefeeds)</h5>

Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v23.1/v23.1.21.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Release Date: May 7, 2024

- The `FORCE_INVERTED_INDEX` hint causes the [optimizer]({% link v23.1/cost-based-optimizer.md %}) to prefer a query plan scan over any [inverted index]({% link v23.1/inverted-indexes.md %}) of the hinted table. An error is emitted if no such query plan can be generated. [#122301][#122301]
- Introduced three new [cluster settings]({% link v23.1/cluster-settings.md %}) for controlling [table statistics]({% link v23.1/cost-based-optimizer.md %}#table-statistics) forecasting:
- [`sql.stats.forecasts.min_observations`]({% link v23.1/cluster-settings.md %}#setting-sql-stats-forecasts-min-observations) is the minimum number of observed statistics required to produce a forecast.
- [`sql.stats.forecasts.min_observations`]({% link v23.1/cluster-settings.md %}) is the minimum number of observed statistics required to produce a forecast.
- [`sql.stats.forecasts.min_goodness_of_fit`]({% link v23.1/cluster-settings.md %}#setting-sql-stats-forecasts-min-goodness-of-fit) is the minimum R² (goodness of fit) measurement required from all predictive models to use a forecast.
- [`sql.stats.forecasts.max_decrease`]({% link v23.1/cluster-settings.md %}#setting-sql-stats-forecasts-max-decrease) is the most a prediction can decrease, expressed as the minimum ratio of the prediction to the lowest prior observation. [#122990][#122990]
- Added a [session variable]({% link v23.1/set-vars.md %}) `optimizer_use_improved_multi_column_selectivity_estimate`, which if enabled, causes the [optimizer]({% link v23.1/cost-based-optimizer.md %}) to use an improved selectivity estimate for multi-column predicates. This setting will default to `true` on v24.2 and later, and `false` on prior versions. [#123068][#123068]
Expand Down
1 change: 1 addition & 0 deletions src/current/_includes/releases/v23.2/v23.2.0-alpha.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Release Date: September 26, 2023
- When customizing the [SQL shell's interactive prompt]({% link v23.2/cockroach-sql.md %}), the special sequence `%M` now expands to the full host name instead of the combination of host name and port number. To include the port number explicitly, use `%>`. The special sequence `%m` now expands to the host name up to the first period. [#105137][#105137]
- The [`cockroach debug zip`]({% link v23.2/cockroach-debug-zip.md %}) command stores data retrieved from SQL tables in the remote cluster using the TSV format by default. [#107474][#107474]
- The [`changefeed.protect_timestamp.max_age` cluster setting]({% link v23.2/protect-changefeed-data.md %}) will only apply to newly created changefeeds in v23.2. For existing changefeeds, you can set the [`protect_data_from_gc_on_pause`]({% link v23.2/create-changefeed.md %}#protect-pause) option so that changefeeds do not experience infinite retries and accumulate protected change data. You can use the [`ALTER CHANGEFEED`]({% link v23.2/alter-changefeed.md %}) statement to add `protect_data_from_gc_on_pause` to existing changefeeds. [#103539][#103539]
- The `changefeed.new_pubsub_sink_enabled` cluster setting is now enabled by default, which improves changefeed throughput. With this setting enabled, the top-level fields in JSON-encoded messages are capitalized: `{Key: ..., Value: ..., Topic: ...}`. After upgrading to CockroachDB v23.2, you may need to reconfigure downstream systems to parse the new message format. If you disable this setting, changefeeds emitting to Pub/Sub sinks with JSON-encoded events have the top-level message fields all lowercase: `{key: ..., value: ..., topic: ...}`.

<h3 id="v23-2-0-alpha-1-security-updates">Security updates</h3>

Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v24.1/v24.1.0-alpha.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Release Date: March 7, 2024

<h3 id="v24-1-0-alpha-1-backward-incompatible-changes">Backward-incompatible changes</h3>

- [`AS OF SYSTEM TIME`]({% link v23.2/as-of-system-time.md %}) queries can no longer use a timestamp followed by a question mark to signifiy a future-time value. This was an undocumented syntax. [#116830][#116830]
- [`AS OF SYSTEM TIME`]({% link v23.2/as-of-system-time.md %}) queries can no longer use a timestamp followed by a question mark to signify a future-time value. This was an undocumented syntax. [#116830][#116830]

<h3 id="v24-1-0-alpha-1-{{-site.data.products.enterprise-}}-edition-changes">{{ site.data.products.enterprise }} edition changes</h3>

Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/releases/v24.1/v24.1.0-beta.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Release Date: April 30, 2024
- Updated the [`SHOW GRANTS`]({% link v24.1/show-grants.md %}) responses to display the `object_type` and `object_name`, which has replaced the `relation_name` column. [#122823][#122823]
- Added [external connection]({% link v24.1/create-external-connection.md %}) granted privileges to the [`SHOW GRANTS`]({% link v24.1/show-grants.md %}) command. [#122823][#122823]
- Introduced three new [cluster settings]({% link v24.1/cluster-settings.md %}) for controlling table statistics forecasting:
- [`sql.stats.forecasts.min_observations`]({% link v24.1/cluster-settings.md %}#setting-sql-stats-forecasts-min-observations) is the minimum number of observed statistics required to produce a forecast.
- [`sql.stats.forecasts.min_observations`]({% link v24.1/cluster-settings.md %}) is the minimum number of observed statistics required to produce a forecast.
- [`sql.stats.forecasts.min_goodness_of_fit`]({% link v24.1/cluster-settings.md %}#setting-sql-stats-forecasts-min-goodness-of-fit) is the minimum R² (goodness of fit) measurement required from all predictive models to use a forecast.
- [`sql.stats.forecasts.max_decrease`]({% link v24.1/cluster-settings.md %}#setting-sql-stats-forecasts-max-decrease) is the most a prediction can decrease, expressed as the minimum ratio of the prediction to the lowest prior observation. [#122459][#122459]

Expand Down

0 comments on commit 7bb3f8d

Please sign in to comment.