From 79e6e452628404650f42bff51aebded5d76d99fa Mon Sep 17 00:00:00 2001 From: Ryan Kuo <8740013+taroface@users.noreply.github.com> Date: Wed, 8 May 2024 14:44:03 -0400 Subject: [PATCH] v24.1.0-rc.1 release notes (#18524) * v24.1.0-rc.1 release notes --------- Co-authored-by: Matt Linville --- src/current/_data/releases.yml | 27 +++++++++ .../_includes/releases/v24.1/v24.1.0-rc.1.md | 55 +++++++++++++++++++ .../cockroachcloud/upgrade-to-v24.1.md | 2 +- 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 src/current/_includes/releases/v24.1/v24.1.0-rc.1.md diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 506359870ff..2374ee8d9fa 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -6028,3 +6028,30 @@ CockroachDB Cloud clusters. To request to upgrade a CockroachDB self-hosted cluster to this version, [contact support](https://support.cockroachlabs.com/hc/en-us/requests/new). + +- release_name: v24.1.0-rc.1 + major_version: v24.1 + release_date: '2024-05-08' + release_type: Testing + 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: true + 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-beta.3 diff --git a/src/current/_includes/releases/v24.1/v24.1.0-rc.1.md b/src/current/_includes/releases/v24.1/v24.1.0-rc.1.md new file mode 100644 index 00000000000..60a8d9c6d64 --- /dev/null +++ b/src/current/_includes/releases/v24.1/v24.1.0-rc.1.md @@ -0,0 +1,55 @@ +## v24.1.0-rc.1 + +Release Date: May 8, 2024 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

SQL language changes

+ +- Added a new [session setting]({% link v24.1/session-variables.md %}) `optimizer_use_improved_multi_column_selectivity_estimate`, which if enabled, causes the [optimizer]({% link v24.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 earlier versions. [#123106][#123106] + +

Operational changes

+ +- Added two new [metrics]({% link v24.1/metrics.md %}): `range.snapshots.upreplication.rcvd-bytes` counts the number of [Raft]({% link v24.1/architecture/replication-layer.md %}#raft) recovery snapshot bytes received, and `range.snapshots.upreplication.sent-bytes` counts the number of Raft recovery snapshot bytes sent. Also updated `range.snapshots.recovery.rcvd-bytes` and `range.snapshots.recovery.sent-bytes` to only include Raft snapshots. A new line was added to the [**Snapshot Data Received**]({% link v24.1/ui-replication-dashboard.md %}#snapshot-data-received) graph. [#123055][#123055] + +

DB Console changes

+ +- Added a **Replication Lag** graph to the [**Physical Cluster Replication**]({% link v24.1/physical-cluster-replication-monitoring.md %}) dashboard to measure replication lag between primary and standby clusters using [physical cluster replication]({% link v24.1/physical-cluster-replication-overview.md %}). [#123285][#123285] + +

Bug fixes

+ +- Fixed a bug that caused the [**Tables**]({% link v24.1/ui-databases-page.md %}#tables-view) and [**Table Details**]({% link v24.1/ui-databases-page.md %}#table-details) pages in the DB Console to display an incorrect value for **Table Stats Last Updated**. [#122816][#122816] +- Fixed a bug in the DB Console's [**Custom Chart**]({% link v24.1/ui-custom-chart-debug-page.md %}) tool where store-level metrics were displayed only for the first store ID associated with the node. Now data is displayed for all stores present on a node, and a single time series is shown for each store, rather than an aggregated value for all of the node's stores. This allows finer-grained monitoring of store-level metrics. [#122705][#122705] +- Fixed a bug introduced in v22.2 that could cause the internal error `attempting to append refresh spans after the tracked timestamp has moved forward` in some edge cases. [#123136][#123136] +- Fixed a bug where a `TYPEDESC SCHEMA CHANGE` job could retry forever if the descriptor it targeted was already dropped. [#123273][#123273] +- Fixed a bug where, if the legacy schema changer was enabled, the [`CREATE SEQUENCE`]({% link v24.1/create-sequence.md %}) command would incorrectly require the user to have the `CREATE` [privilege]({% link v24.1/security-reference/authorization.md %}#privileges) on the parent database rather than only on the parent schema.[#123289][#123289] +- Fixed a bug where a [job]({% link v24.1/show-jobs.md %}) would fail if it reported an out-of-bound progress fraction. The error is now logged and no longer causes the job to fail. [#122965][#122965] + +

Performance improvements

+ +- Added a new [session setting]({% link v24.1/session-variables.md %}) `optimizer_use_improved_zigzag_join_costing`. When enabled and when the [cluster setting]({% link v24.1/cluster-settings.md %}) `enable_zigzag_join` is also enabled, the cost of zigzag joins is updated such that a zigzag join will be chosen over a scan only if it produces fewer rows than a scan.[#123106][#123106] +- Improved the selectivity estimation of multi-column filters when the multi-column distinct count is high. This prevents the [optimizer]({% link v24.1/cost-based-optimizer.md %}) from choosing a bad query plan due to over-estimating the selectivity of a multi-column predicate. [#123106][#123106] +- Improved the efficiency of error handling in the [vectorized execution engine]({% link v24.1/vectorized-execution.md %}), to reduce the CPU overhead of statement timeout handling and reduce the potential for more statement timeouts. [#123501][#123501] +- Disabled a poorly-performing [changefeed]({% link v24.1/change-data-capture-overview.md %}) optimization that was intended to reduce duplicates during aggregator restarts. [#123597][#123597] + +
+ +

Contributors

+ +This release includes 57 merged PRs by 24 authors. + +
+ +[#122705]: https://github.com/cockroachdb/cockroach/pull/122705 +[#122816]: https://github.com/cockroachdb/cockroach/pull/122816 +[#122965]: https://github.com/cockroachdb/cockroach/pull/122965 +[#123055]: https://github.com/cockroachdb/cockroach/pull/123055 +[#123106]: https://github.com/cockroachdb/cockroach/pull/123106 +[#123136]: https://github.com/cockroachdb/cockroach/pull/123136 +[#123144]: https://github.com/cockroachdb/cockroach/pull/123144 +[#123273]: https://github.com/cockroachdb/cockroach/pull/123273 +[#123285]: https://github.com/cockroachdb/cockroach/pull/123285 +[#123289]: https://github.com/cockroachdb/cockroach/pull/123289 +[#123373]: https://github.com/cockroachdb/cockroach/pull/123373 +[#123501]: https://github.com/cockroachdb/cockroach/pull/123501 +[#123597]: https://github.com/cockroachdb/cockroach/pull/123597 diff --git a/src/current/cockroachcloud/upgrade-to-v24.1.md b/src/current/cockroachcloud/upgrade-to-v24.1.md index 39d4f3516f7..ff894212a60 100644 --- a/src/current/cockroachcloud/upgrade-to-v24.1.md +++ b/src/current/cockroachcloud/upgrade-to-v24.1.md @@ -6,7 +6,7 @@ docs_area: manage page_version: v24.1 prev_version: v23.2 pre_production_preview: true -pre_production_preview_version: v24.1.0-beta.1 +pre_production_preview_version: v24.1.0-rc.1 --- {% if page.pre_production_preview == true %}