From 499a20a42e4e167549d096eef50a357a1b6e7c5d Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Mon, 13 Jan 2025 17:02:15 -0500 Subject: [PATCH 01/14] Add release notes for v25.1.0-alpha.3 Fixes REL-1718 --- src/current/_data/releases.yml | 28 +++++++ src/current/_data/versions.csv | 2 +- .../releases/v25.1/v25.1.0-alpha.3.md | 76 +++++++++++++++++++ 3 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 980b1c265eb..6294647a51a 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -7868,3 +7868,31 @@ docker_arm_limited_access: false source: true previous_release: v23.2.18 + + +- release_name: v25.1.0-alpha.3 + major_version: v25.1 + release_date: '2025-01-15' + release_type: Testing + go_version: go1.22.8 + sha: 31e84cb3a57c52a779ff0982c95fb26646b54926 + 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: v25.1.0-alpha.2 diff --git a/src/current/_data/versions.csv b/src/current/_data/versions.csv index 54feef3ef03..ada62642edd 100644 --- a/src/current/_data/versions.csv +++ b/src/current/_data/versions.csv @@ -16,4 +16,4 @@ v23.2,2024-02-05,2025-02-05,2025-08-05,23.2.6,23.2.7,2024-07-08,2025-07-08,2026- v24.1,2024-05-20,2025-05-20,2025-11-20,24.1.5,24.1.6,2024-10-21,2025-10-21,2026-10-21,v23.2,release-24.1 v24.2,2024-08-12,2025-02-12,N/A,N/A,N/A,N/A,N/A,N/A,v24.1,release-24.2 v24.3,2024-11-18,2025-11-18,2026-05-18,N/A,N/A,N/A,N/A,N/A,v24.2,release-24.3 -v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.2,release-24.3 +v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.2,master diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md new file mode 100644 index 00000000000..963d582a6c3 --- /dev/null +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -0,0 +1,76 @@ +## v25.1.0-alpha.3 + +Release Date: January 15, 2025 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

Backward-incompatible changes

+ +- Several metrics are redundant and have been removed. Below is a list mapping from each removed metric to an existing, identical metric. [#138786][#138786] + - Removed `sql.schema_changer.running`, which is redundant with `jobs.schema_change.currently_running`. + - Removed `sql.schema_changer.successes`, which is redundant with `jobs.schema_change.resume_completed`. + - Removed `sql.schema_changer.retry_errors`, which is redundant with `jobs.schema_change.resume_retry_error`. + - Removed `sql.schema_changer.permanent_errors`, which is redundant with `jobs.schema_change.resume_failed`. + +

General changes

+ +- When changefeeds are created with a resolved option lower than the `min_checkpoint_frequency` option, a notice is printed to inform the user since this may lead to unexpected behavior. [#138181][#138181] + +

SQL language changes

+ +- Users can always see and control (pause/resume/cancel) jobs which they own. [#138178][#138178] +- Provide different options for `CREATE LOGICALLY REPLICATED TABLE`. [#138244][#138244] +- `CHANGEFEED`s using named external connections now automatically update their configuration when the connection configuration changes. [#138237][#138237] +- Added support for `DO` statements embedded within PL/pgSQL routines and other `DO` statements. `DO` statements execute a block of code inline as an anonymous function. Currently, only a PL/pgSQL body is allowed. [#138709][#138709] +- Added support for `DO` statements in SQL, which allow a PL/pgSQL code block to be executed inline. [#138709][#138709] +- `DO` statements can now be used as body statements in a SQL routine to execute PL/pgSQL code inline. [#138709][#138709] + +

Operational changes

+ +- If a row level TTL job is scheduled to run and the previous scheduled job for that table is still running, the scheduled run will now be skipped rather than waiting for the previous job to complete. [#138336][#138336] +- Schema object identifiers (e.g. database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] +- Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] +- The default value of the cluster setting `admission.l0_file_count_overload_threshold` is changed to `4000`. [#138699][#138699] +- Introduced a metric, `sql.schema_changer.object_count`, that keeps track of the count of schema objects in the cluster. [#138786][#138786] +- Renamed the `changefeed.min_highwater_advance` cluster setting to `changefeed.resolved_timestamp.min_update_interval` to more accurately reflect its function. Its description in the automatically generated documentation has also been updated. The previous name remains usable for backwards compatibility. [#138673][#138673] + +

DB Console changes

+ +- Added a `/debug/pprof/fgprof` endpoint to capture off-CPU stack traces. Use of this endpoint will have a noticeable impact on performance while the endpoint is being triggered. [#138779][#138779] + +

Bug fixes

+ +- In the v2 **Databases > Table** page, the `CREATE` statement will now show up as expected for tables with custom schema names. [#138294][#138294] +- Fixed issues with the virtual index scan on `crdb_internal.create_type_statements`, ensuring consistent results when querying user-defined types (UDTs) across databases. [#138295][#138295] +- Queries that perform a cast from the string representation of an array containing geometry or geography types to a SQL array type will now succeed. [#138557][#138557] +- Secondary tenants will not fatal when issuing HTTP requests during tenant startup. [#138343][#138343] +- A bug has been fixed that disregarded tuple labels in some cases. This could cause unexpected behavior, such as when converting a tuple to JSON with `to_jsonb`. See [#136167][#136167] for more details. This incorrect removal of tuple labels bug was introduced in v22.1.0, and changes in v24.3.0 made unexpected behavior due to the bug more likely. [#138791][#138791] +- Fixed a bug where locks were taken on the system tables `system.users` and `system.role_options` even when `allow_role_memberships_to_change_during_transaction` was set. Now, users are able to create and drop users quickly when `allow_role_memberships_to_change_during_transaction` is set, even if there are contending transactions on `system.users` and `system.role_options`. [#137940][#137940] + +

Miscellaneous

+ +- Build CockroachDB binaries with profile-guided optimization (PGO) enabled. [#138700][#138700] + +[#136167]: https://github.com/cockroachdb/cockroach/pull/136167 +[#136897]: https://github.com/cockroachdb/cockroach/pull/136897 +[#137750]: https://github.com/cockroachdb/cockroach/pull/137750 +[#137940]: https://github.com/cockroachdb/cockroach/pull/137940 +[#138178]: https://github.com/cockroachdb/cockroach/pull/138178 +[#138181]: https://github.com/cockroachdb/cockroach/pull/138181 +[#138223]: https://github.com/cockroachdb/cockroach/pull/138223 +[#138237]: https://github.com/cockroachdb/cockroach/pull/138237 +[#138244]: https://github.com/cockroachdb/cockroach/pull/138244 +[#138294]: https://github.com/cockroachdb/cockroach/pull/138294 +[#138295]: https://github.com/cockroachdb/cockroach/pull/138295 +[#138332]: https://github.com/cockroachdb/cockroach/pull/138332 +[#138334]: https://github.com/cockroachdb/cockroach/pull/138334 +[#138336]: https://github.com/cockroachdb/cockroach/pull/138336 +[#138343]: https://github.com/cockroachdb/cockroach/pull/138343 +[#138557]: https://github.com/cockroachdb/cockroach/pull/138557 +[#138673]: https://github.com/cockroachdb/cockroach/pull/138673 +[#138699]: https://github.com/cockroachdb/cockroach/pull/138699 +[#138700]: https://github.com/cockroachdb/cockroach/pull/138700 +[#138709]: https://github.com/cockroachdb/cockroach/pull/138709 +[#138779]: https://github.com/cockroachdb/cockroach/pull/138779 +[#138786]: https://github.com/cockroachdb/cockroach/pull/138786 +[#138791]: https://github.com/cockroachdb/cockroach/pull/138791 From 5205cd9a06e5c5e2e208fff1daa88d3f66b46849 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 11:59:48 -0500 Subject: [PATCH 02/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 963d582a6c3..6c2f533199f 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -6,7 +6,7 @@ Release Date: January 15, 2025

Backward-incompatible changes

-- Several metrics are redundant and have been removed. Below is a list mapping from each removed metric to an existing, identical metric. [#138786][#138786] +- Several metrics are redundant and have been removed. The following list maps each removed metric to an existing, identical metric. [#138786][#138786] - Removed `sql.schema_changer.running`, which is redundant with `jobs.schema_change.currently_running`. - Removed `sql.schema_changer.successes`, which is redundant with `jobs.schema_change.resume_completed`. - Removed `sql.schema_changer.retry_errors`, which is redundant with `jobs.schema_change.resume_retry_error`. From 35e86a5e1ea990d1d3991ecdfc911ea034805c1a Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:00:09 -0500 Subject: [PATCH 03/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 6c2f533199f..bdcad9f6934 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -14,7 +14,7 @@ Release Date: January 15, 2025

General changes

-- When changefeeds are created with a resolved option lower than the `min_checkpoint_frequency` option, a notice is printed to inform the user since this may lead to unexpected behavior. [#138181][#138181] +- When changefeeds are created with a resolved option lower than the `min_checkpoint_frequency` option, a notice is now printed, since this may lead to unexpected behavior. [#138181][#138181]

SQL language changes

From 1a857637cee4af2bb1a28176135c21ae1d197f5a Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:00:19 -0500 Subject: [PATCH 04/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index bdcad9f6934..6c97d84e30c 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -18,7 +18,7 @@ Release Date: January 15, 2025

SQL language changes

-- Users can always see and control (pause/resume/cancel) jobs which they own. [#138178][#138178] +- Users can now always see and control (pause/resume/cancel) jobs that they own. [#138178][#138178] - Provide different options for `CREATE LOGICALLY REPLICATED TABLE`. [#138244][#138244] - `CHANGEFEED`s using named external connections now automatically update their configuration when the connection configuration changes. [#138237][#138237] - Added support for `DO` statements embedded within PL/pgSQL routines and other `DO` statements. `DO` statements execute a block of code inline as an anonymous function. Currently, only a PL/pgSQL body is allowed. [#138709][#138709] From 0c2689892bb99a57e63118c1c7ed691606e2aa62 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:07:38 -0500 Subject: [PATCH 05/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 6c97d84e30c..ec2ed412bbf 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -27,7 +27,7 @@ Release Date: January 15, 2025

Operational changes

-- If a row level TTL job is scheduled to run and the previous scheduled job for that table is still running, the scheduled run will now be skipped rather than waiting for the previous job to complete. [#138336][#138336] +- If a row-level TTL job is scheduled to run and the previous scheduled job for that table is still running, the scheduled run will now be skipped rather than waiting for the previous job to complete. [#138336][#138336] - Schema object identifiers (e.g. database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] - Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] - The default value of the cluster setting `admission.l0_file_count_overload_threshold` is changed to `4000`. [#138699][#138699] From 0f186a08a7eb1c5d38e1415639db6072b8b3b781 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:07:45 -0500 Subject: [PATCH 06/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index ec2ed412bbf..6ca8ef40529 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -32,7 +32,7 @@ Release Date: January 15, 2025 - Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] - The default value of the cluster setting `admission.l0_file_count_overload_threshold` is changed to `4000`. [#138699][#138699] - Introduced a metric, `sql.schema_changer.object_count`, that keeps track of the count of schema objects in the cluster. [#138786][#138786] -- Renamed the `changefeed.min_highwater_advance` cluster setting to `changefeed.resolved_timestamp.min_update_interval` to more accurately reflect its function. Its description in the automatically generated documentation has also been updated. The previous name remains usable for backwards compatibility. [#138673][#138673] +- Renamed the `changefeed.min_highwater_advance` cluster setting to `changefeed.resolved_timestamp.min_update_interval` to more accurately reflect its function. Its description in the automatically generated documentation has also been updated. The previous name remains usable for backward compatibility. [#138673][#138673]

DB Console changes

From 990b302decb1b7e6b753e4c244a667d33735482e Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:13:32 -0500 Subject: [PATCH 07/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 6ca8ef40529..2ce119f0305 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -44,7 +44,7 @@ Release Date: January 15, 2025 - Fixed issues with the virtual index scan on `crdb_internal.create_type_statements`, ensuring consistent results when querying user-defined types (UDTs) across databases. [#138295][#138295] - Queries that perform a cast from the string representation of an array containing geometry or geography types to a SQL array type will now succeed. [#138557][#138557] - Secondary tenants will not fatal when issuing HTTP requests during tenant startup. [#138343][#138343] -- A bug has been fixed that disregarded tuple labels in some cases. This could cause unexpected behavior, such as when converting a tuple to JSON with `to_jsonb`. See [#136167][#136167] for more details. This incorrect removal of tuple labels bug was introduced in v22.1.0, and changes in v24.3.0 made unexpected behavior due to the bug more likely. [#138791][#138791] +- Fixed a bug that disregarded tuple labels in some cases. This could cause unexpected behavior, such as when converting a tuple to JSON with `to_jsonb`. See [#136167][#136167] for more details. This incorrect removal of tuple labels bug was introduced in v22.1.0, and changes in v24.3.0 made unexpected behavior due to the bug more likely. [#138791][#138791] - Fixed a bug where locks were taken on the system tables `system.users` and `system.role_options` even when `allow_role_memberships_to_change_during_transaction` was set. Now, users are able to create and drop users quickly when `allow_role_memberships_to_change_during_transaction` is set, even if there are contending transactions on `system.users` and `system.role_options`. [#137940][#137940]

Miscellaneous

From 5edac1b2a15a0c0d83c0ebb5bde8bd0e71b7291c Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:30:58 -0500 Subject: [PATCH 08/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 2ce119f0305..899d4eb6a75 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -28,7 +28,7 @@ Release Date: January 15, 2025

Operational changes

- If a row-level TTL job is scheduled to run and the previous scheduled job for that table is still running, the scheduled run will now be skipped rather than waiting for the previous job to complete. [#138336][#138336] -- Schema object identifiers (e.g. database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] +- Schema object identifiers (e.g., database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] - Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] - The default value of the cluster setting `admission.l0_file_count_overload_threshold` is changed to `4000`. [#138699][#138699] - Introduced a metric, `sql.schema_changer.object_count`, that keeps track of the count of schema objects in the cluster. [#138786][#138786] From 81cc377817c52aebc7293ae0ba755227230afb99 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:31:08 -0500 Subject: [PATCH 09/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 899d4eb6a75..37396653fa1 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -30,7 +30,7 @@ Release Date: January 15, 2025 - If a row-level TTL job is scheduled to run and the previous scheduled job for that table is still running, the scheduled run will now be skipped rather than waiting for the previous job to complete. [#138336][#138336] - Schema object identifiers (e.g., database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] - Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] -- The default value of the cluster setting `admission.l0_file_count_overload_threshold` is changed to `4000`. [#138699][#138699] +- Changed the default value of the cluster setting `admission.l0_file_count_overload_threshold` to `4000`. [#138699][#138699] - Introduced a metric, `sql.schema_changer.object_count`, that keeps track of the count of schema objects in the cluster. [#138786][#138786] - Renamed the `changefeed.min_highwater_advance` cluster setting to `changefeed.resolved_timestamp.min_update_interval` to more accurately reflect its function. Its description in the automatically generated documentation has also been updated. The previous name remains usable for backward compatibility. [#138673][#138673] From 72e687fd55caa4fb9cb3529196825bf8a89e5bea Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:31:33 -0500 Subject: [PATCH 10/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 37396653fa1..cd77f397d2a 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -31,7 +31,7 @@ Release Date: January 15, 2025 - Schema object identifiers (e.g., database names, schema names, table names, and function names) are no longer redacted when logging statements in the `EXEC` or `SQL_SCHEMA` channels. If redaction of these names is required, then the new cluster setting `sql.log.redact_names.enabled` can be set to `true`. The default value of the setting is `false`. [#136897][#136897] - Object identifiers such as table names, schema names, function names, and type names are no longer redacted in the `SQL_SCHEMA` log channel. [#136897][#136897] - Changed the default value of the cluster setting `admission.l0_file_count_overload_threshold` to `4000`. [#138699][#138699] -- Introduced a metric, `sql.schema_changer.object_count`, that keeps track of the count of schema objects in the cluster. [#138786][#138786] +- Introduced a metric, `sql.schema_changer.object_count`, that counts the number of schema objects in the cluster. [#138786][#138786] - Renamed the `changefeed.min_highwater_advance` cluster setting to `changefeed.resolved_timestamp.min_update_interval` to more accurately reflect its function. Its description in the automatically generated documentation has also been updated. The previous name remains usable for backward compatibility. [#138673][#138673]

DB Console changes

From 6e28f4546f7ae5b327f96f9cefcf1b527743ecda Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 12:37:14 -0500 Subject: [PATCH 11/14] Update with taroface feedback (1) --- .../_includes/releases/v25.1/v25.1.0-alpha.3.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 963d582a6c3..a0a1878904a 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -15,15 +15,15 @@ Release Date: January 15, 2025

General changes

- When changefeeds are created with a resolved option lower than the `min_checkpoint_frequency` option, a notice is printed to inform the user since this may lead to unexpected behavior. [#138181][#138181] +- CockroachDB binaries are built with profile-guided optimization (PGO) enabled. [#138700][#138700]

SQL language changes

- Users can always see and control (pause/resume/cancel) jobs which they own. [#138178][#138178] -- Provide different options for `CREATE LOGICALLY REPLICATED TABLE`. [#138244][#138244] +- Provide different options for `CREATE LOGICALLY REPLICATED TABLE`: `UNIDIRECTIONAL` and `BIDIRECTIONAL ON`. These options are used for `CREATE LOGICALLY REPLICATED TABLE`, but not `CREATE LOGICAL REPLICATION STREAM`. [#138244][#138244] - `CHANGEFEED`s using named external connections now automatically update their configuration when the connection configuration changes. [#138237][#138237] - Added support for `DO` statements embedded within PL/pgSQL routines and other `DO` statements. `DO` statements execute a block of code inline as an anonymous function. Currently, only a PL/pgSQL body is allowed. [#138709][#138709] - Added support for `DO` statements in SQL, which allow a PL/pgSQL code block to be executed inline. [#138709][#138709] -- `DO` statements can now be used as body statements in a SQL routine to execute PL/pgSQL code inline. [#138709][#138709]

Operational changes

@@ -40,17 +40,12 @@ Release Date: January 15, 2025

Bug fixes

-- In the v2 **Databases > Table** page, the `CREATE` statement will now show up as expected for tables with custom schema names. [#138294][#138294] +- In the v2 **Databases > Table** page, the `CREATE` statement will now show up as expected for tables with custom schema names. [#138294][#138294] - Fixed issues with the virtual index scan on `crdb_internal.create_type_statements`, ensuring consistent results when querying user-defined types (UDTs) across databases. [#138295][#138295] - Queries that perform a cast from the string representation of an array containing geometry or geography types to a SQL array type will now succeed. [#138557][#138557] -- Secondary tenants will not fatal when issuing HTTP requests during tenant startup. [#138343][#138343] - A bug has been fixed that disregarded tuple labels in some cases. This could cause unexpected behavior, such as when converting a tuple to JSON with `to_jsonb`. See [#136167][#136167] for more details. This incorrect removal of tuple labels bug was introduced in v22.1.0, and changes in v24.3.0 made unexpected behavior due to the bug more likely. [#138791][#138791] - Fixed a bug where locks were taken on the system tables `system.users` and `system.role_options` even when `allow_role_memberships_to_change_during_transaction` was set. Now, users are able to create and drop users quickly when `allow_role_memberships_to_change_during_transaction` is set, even if there are contending transactions on `system.users` and `system.role_options`. [#137940][#137940] -

Miscellaneous

- -- Build CockroachDB binaries with profile-guided optimization (PGO) enabled. [#138700][#138700] - [#136167]: https://github.com/cockroachdb/cockroach/pull/136167 [#136897]: https://github.com/cockroachdb/cockroach/pull/136897 [#137750]: https://github.com/cockroachdb/cockroach/pull/137750 From d0368d5f03e30dad788009a0dfca9d2a3e9b7b43 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 13:57:08 -0500 Subject: [PATCH 12/14] Update versions.csv to match current main --- src/current/_data/versions.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_data/versions.csv b/src/current/_data/versions.csv index ada62642edd..54feef3ef03 100644 --- a/src/current/_data/versions.csv +++ b/src/current/_data/versions.csv @@ -16,4 +16,4 @@ v23.2,2024-02-05,2025-02-05,2025-08-05,23.2.6,23.2.7,2024-07-08,2025-07-08,2026- v24.1,2024-05-20,2025-05-20,2025-11-20,24.1.5,24.1.6,2024-10-21,2025-10-21,2026-10-21,v23.2,release-24.1 v24.2,2024-08-12,2025-02-12,N/A,N/A,N/A,N/A,N/A,N/A,v24.1,release-24.2 v24.3,2024-11-18,2025-11-18,2026-05-18,N/A,N/A,N/A,N/A,N/A,v24.2,release-24.3 -v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.2,master +v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.2,release-24.3 From ab53dbe254ca2b0d91683029a63057e9d63071e0 Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 15:01:56 -0500 Subject: [PATCH 13/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index c6ab9bb472c..49462491b26 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -20,7 +20,7 @@ Release Date: January 15, 2025

SQL language changes

- Users can now always see and control (pause/resume/cancel) jobs that they own. [#138178][#138178] -- Provide different options for `CREATE LOGICALLY REPLICATED TABLE`: `UNIDIRECTIONAL` and `BIDIRECTIONAL ON`. These options are used for `CREATE LOGICALLY REPLICATED TABLE`, but not `CREATE LOGICAL REPLICATION STREAM`. [#138244][#138244] +- CockroachDB now provides different options for `CREATE LOGICALLY REPLICATED TABLE`: `UNIDIRECTIONAL` and `BIDIRECTIONAL ON`. These options are used for `CREATE LOGICALLY REPLICATED TABLE`, but not `CREATE LOGICAL REPLICATION STREAM`. [#138244][#138244] - `CHANGEFEED`s using named external connections now automatically update their configuration when the connection configuration changes. [#138237][#138237] - Added support for `DO` statements embedded within PL/pgSQL routines and other `DO` statements. `DO` statements execute a block of code inline as an anonymous function. Currently, only a PL/pgSQL body is allowed. [#138709][#138709] - Added support for `DO` statements in SQL, which allow a PL/pgSQL code block to be executed inline. [#138709][#138709] From 81b73fe73ef0cdbe54e73fe7b6af1e8968ac301c Mon Sep 17 00:00:00 2001 From: Rich Loveland Date: Wed, 15 Jan 2025 15:02:07 -0500 Subject: [PATCH 14/14] Update src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md Co-authored-by: Ryan Kuo <8740013+taroface@users.noreply.github.com> --- src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md index 49462491b26..d31f0793583 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-alpha.3.md @@ -15,7 +15,7 @@ Release Date: January 15, 2025

General changes

- When changefeeds are created with a resolved option lower than the `min_checkpoint_frequency` option, a notice is now printed, since this may lead to unexpected behavior. [#138181][#138181] -- CockroachDB binaries are built with profile-guided optimization (PGO) enabled. [#138700][#138700] +- CockroachDB binaries are now built with profile-guided optimization (PGO) enabled. [#138700][#138700]

SQL language changes