From 9073f84a615a7d4a350e52861357cd978acc75ab Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Fri, 17 Jan 2025 10:15:26 -0500 Subject: [PATCH 1/5] unedited release notes. --- src/current/_data/releases.yml | 28 ++++++ src/current/_data/versions.csv | 2 +- .../releases/v25.1/v25.1.0-beta.1.md | 89 +++++++++++++++++++ 3 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 src/current/_includes/releases/v25.1/v25.1.0-beta.1.md diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 6294647a51a..35732b95115 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -7896,3 +7896,31 @@ docker_arm_limited_access: false source: true previous_release: v25.1.0-alpha.2 + + +- release_name: v25.1.0-beta.1 + major_version: v25.1 + release_date: '2025-01-20' + release_type: Testing + go_version: go1.22.8 + sha: ee90ad7305dca35234b83e0f664377d0be02815f + 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.3 diff --git a/src/current/_data/versions.csv b/src/current/_data/versions.csv index 54feef3ef03..53d480e1971 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,release-25.1 diff --git a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md new file mode 100644 index 00000000000..6f34dc9592e --- /dev/null +++ b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md @@ -0,0 +1,89 @@ +## v25.1.0-beta.1 + +Release Date: January 20, 2025 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

SQL language changes

+ +- When a user runs CREATE LOGICALLY REPLICATED TABLE, they must specify one of the following options: - UNIDIRECTIONAL: setups a unidirectional stream with fast initial scan - BIDIRECTIONAL ON {dest uri}: sets up a bidirectional stream from the original dest to the original source. [#138297][#138297] +- LDR and PCR may use the `crdb_route=gateway` query option to route the replication streams over a load balancer. Epic: CRDB-40896 [#138697][#138697] + +

Operational changes

+ +- The `node decommission` cli command now waits until the target node is drained before marking it as fully decommissioned. Previously, it would start drain but not wait, leaving the target node briefly in a state where it would be unable to communicate with the cluster but would still accept client requests (which would then hang or hit unexpected errors). [#138732][#138732] +- The cluster setting `changefeed.frontier_highwater_lag_checkpoint_threshold` has been renamed to `changefeed.span_checkpoint.lag_threshold`. The old name remains available for backwards-compatibility. [#139064][#139064] + +

Bug fixes

+ +- Bounded memory leak that could previously occur when evaluating some memory-intensive queries via the vectorized engine in CockroachDB has now been fixed. The leak has been present since 20.2 version. [#138804][#138804] +- Fixed a bug where columns created with GENERATED ... BY IDENTITY with the SERIAL type could incorrectly fail internal validations. [#139084][#139084] + +

Build changes

+ +- Roll back the use of PGO for releases. We plan to implement this instead for 25.2. [#139092][#139092] + +

Miscellaneous

+ +

Changes without release note annotation

+ +- [#139042][#139042] [cc8e09034][cc8e09034] roachtest: fix single node sysbench setup +- [#139041][#139041] [d4d9811d8][d4d9811d8] DEPS: fix build when cache clear +- [#138849][#138849] [b0f2b656d][b0f2b656d] roachprod: retry hostname validation on different nodes +- [#138849][#138849] [d4ea7302d][d4ea7302d] roachprod: retry hostname validation on different nodes +- [#138283][#138283] [3708ee527][3708ee527] DEPS: upgrade grpc to v1.57.2 +- [#138283][#138283] [4e3b377d8][4e3b377d8] DEPS: upgrade grpc to v1.57.2 +- [#138283][#138283] [00f75802a][00f75802a] DEPS: upgrade grpc to v1.57.2 +- [#138283][#138283] [59e987a9f][59e987a9f] DEPS: upgrade grpc to v1.57.2 +- [#138283][#138283] [87d99d96b][87d99d96b] DEPS: upgrade grpc to v1.57.2 +- [#137319][#137319] [780f5a6c6][780f5a6c6] vecstore: implement partition manipulation functions +- [#137319][#137319] [6e251fb53][6e251fb53] vecstore: implement partition manipulation functions +- [#137319][#137319] [067579e89][067579e89] vecstore: implement partition manipulation functions +- [#136879][#136879] [0d2b39732][0d2b39732] roachprod: refactor Monitor +- [#136879][#136879] [23806329e][23806329e] roachprod: refactor Monitor +- [#136879][#136879] [b957e65c3][b957e65c3] roachprod: refactor Monitor +- [#136879][#136879] [1b1b1b763][1b1b1b763] roachprod: refactor Monitor +- [#136879][#136879] [b8371641b][b8371641b] roachprod: refactor Monitor +- [#136879][#136879] [78a873fd4][78a873fd4] roachprod: refactor Monitor +- [#136879][#136879] [a09069f29][a09069f29] roachprod: refactor Monitor +- [#136879][#136879] [f2f1b2ced][f2f1b2ced] roachprod: refactor Monitor + +

Doc updates

+ +{% comment %}Docs team: Please add these manually.{% endcomment %} + + + +[#136879]: https://github.com/cockroachdb/cockroach/pull/136879 +[#137319]: https://github.com/cockroachdb/cockroach/pull/137319 +[#138283]: https://github.com/cockroachdb/cockroach/pull/138283 +[#138297]: https://github.com/cockroachdb/cockroach/pull/138297 +[#138697]: https://github.com/cockroachdb/cockroach/pull/138697 +[#138732]: https://github.com/cockroachdb/cockroach/pull/138732 +[#138804]: https://github.com/cockroachdb/cockroach/pull/138804 +[#138849]: https://github.com/cockroachdb/cockroach/pull/138849 +[#139041]: https://github.com/cockroachdb/cockroach/pull/139041 +[#139042]: https://github.com/cockroachdb/cockroach/pull/139042 +[#139064]: https://github.com/cockroachdb/cockroach/pull/139064 +[#139084]: https://github.com/cockroachdb/cockroach/pull/139084 +[#139092]: https://github.com/cockroachdb/cockroach/pull/139092 +[00f75802a]: https://github.com/cockroachdb/cockroach/commit/00f75802a +[067579e89]: https://github.com/cockroachdb/cockroach/commit/067579e89 +[0d2b39732]: https://github.com/cockroachdb/cockroach/commit/0d2b39732 +[1b1b1b763]: https://github.com/cockroachdb/cockroach/commit/1b1b1b763 +[23806329e]: https://github.com/cockroachdb/cockroach/commit/23806329e +[3708ee527]: https://github.com/cockroachdb/cockroach/commit/3708ee527 +[4e3b377d8]: https://github.com/cockroachdb/cockroach/commit/4e3b377d8 +[59e987a9f]: https://github.com/cockroachdb/cockroach/commit/59e987a9f +[6e251fb53]: https://github.com/cockroachdb/cockroach/commit/6e251fb53 +[780f5a6c6]: https://github.com/cockroachdb/cockroach/commit/780f5a6c6 +[78a873fd4]: https://github.com/cockroachdb/cockroach/commit/78a873fd4 +[87d99d96b]: https://github.com/cockroachdb/cockroach/commit/87d99d96b +[a09069f29]: https://github.com/cockroachdb/cockroach/commit/a09069f29 +[b0f2b656d]: https://github.com/cockroachdb/cockroach/commit/b0f2b656d +[b8371641b]: https://github.com/cockroachdb/cockroach/commit/b8371641b +[b957e65c3]: https://github.com/cockroachdb/cockroach/commit/b957e65c3 +[cc8e09034]: https://github.com/cockroachdb/cockroach/commit/cc8e09034 +[d4d9811d8]: https://github.com/cockroachdb/cockroach/commit/d4d9811d8 +[d4ea7302d]: https://github.com/cockroachdb/cockroach/commit/d4ea7302d +[f2f1b2ced]: https://github.com/cockroachdb/cockroach/commit/f2f1b2ced From 384880eecb56e89075b0976569f9f9fb28f17501 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Fri, 17 Jan 2025 11:21:08 -0500 Subject: [PATCH 2/5] edited release notes. --- src/current/_data/versions.csv | 2 +- .../releases/v25.1/v25.1.0-beta.1.md | 53 +++++-------------- 2 files changed, 13 insertions(+), 42 deletions(-) diff --git a/src/current/_data/versions.csv b/src/current/_data/versions.csv index 53d480e1971..278e4c377bd 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-25.1 +v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.3,release-25.1 diff --git a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md index 6f34dc9592e..27a9de4b629 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md @@ -4,55 +4,26 @@ Release Date: January 20, 2025 {% include releases/new-release-downloads-docker-image.md release=include.release %} +

General changes

+ +- CockroachDB binaries are no longer built with profile-guided optimization (PGO) enabled. [#139092][#139092] +

SQL language changes

-- When a user runs CREATE LOGICALLY REPLICATED TABLE, they must specify one of the following options: - UNIDIRECTIONAL: setups a unidirectional stream with fast initial scan - BIDIRECTIONAL ON {dest uri}: sets up a bidirectional stream from the original dest to the original source. [#138297][#138297] -- LDR and PCR may use the `crdb_route=gateway` query option to route the replication streams over a load balancer. Epic: CRDB-40896 [#138697][#138697] +- When you run `CREATE LOGICALLY REPLICATED TABLE`, you must specify one of the following options: + - `UNIDIRECTIONAL`: sets up a unidirectional stream with fast initial scan + - `BIDIRECTIONAL ON {destination uri}`: sets up a bidirectional stream from the original destination to the original source. [#138297][#138297] +- Logical data replication (LDR) and physical cluster replication (PCR) may use the `crdb_route=gateway` query option to route the replication streams over a load balancer. [#138697][#138697]

Operational changes

-- The `node decommission` cli command now waits until the target node is drained before marking it as fully decommissioned. Previously, it would start drain but not wait, leaving the target node briefly in a state where it would be unable to communicate with the cluster but would still accept client requests (which would then hang or hit unexpected errors). [#138732][#138732] -- The cluster setting `changefeed.frontier_highwater_lag_checkpoint_threshold` has been renamed to `changefeed.span_checkpoint.lag_threshold`. The old name remains available for backwards-compatibility. [#139064][#139064] +- The `node decommission` CLI command now waits until the target node is fully drained before marking it as decommissioned. Previously, the command would initiate the drain process but not wait for its completion, leaving the target node in a state where it could not communicate with the cluster but would still accept client requests, causing them to hang or encounter unexpected errors. [#138732][#138732] +- The cluster setting `changefeed.frontier_highwater_lag_checkpoint_threshold` has been renamed to `changefeed.span_checkpoint.lag_threshold`. The old name is still available for backward compatibility. [#139064][#139064]

Bug fixes

-- Bounded memory leak that could previously occur when evaluating some memory-intensive queries via the vectorized engine in CockroachDB has now been fixed. The leak has been present since 20.2 version. [#138804][#138804] -- Fixed a bug where columns created with GENERATED ... BY IDENTITY with the SERIAL type could incorrectly fail internal validations. [#139084][#139084] - -

Build changes

- -- Roll back the use of PGO for releases. We plan to implement this instead for 25.2. [#139092][#139092] - -

Miscellaneous

- -

Changes without release note annotation

- -- [#139042][#139042] [cc8e09034][cc8e09034] roachtest: fix single node sysbench setup -- [#139041][#139041] [d4d9811d8][d4d9811d8] DEPS: fix build when cache clear -- [#138849][#138849] [b0f2b656d][b0f2b656d] roachprod: retry hostname validation on different nodes -- [#138849][#138849] [d4ea7302d][d4ea7302d] roachprod: retry hostname validation on different nodes -- [#138283][#138283] [3708ee527][3708ee527] DEPS: upgrade grpc to v1.57.2 -- [#138283][#138283] [4e3b377d8][4e3b377d8] DEPS: upgrade grpc to v1.57.2 -- [#138283][#138283] [00f75802a][00f75802a] DEPS: upgrade grpc to v1.57.2 -- [#138283][#138283] [59e987a9f][59e987a9f] DEPS: upgrade grpc to v1.57.2 -- [#138283][#138283] [87d99d96b][87d99d96b] DEPS: upgrade grpc to v1.57.2 -- [#137319][#137319] [780f5a6c6][780f5a6c6] vecstore: implement partition manipulation functions -- [#137319][#137319] [6e251fb53][6e251fb53] vecstore: implement partition manipulation functions -- [#137319][#137319] [067579e89][067579e89] vecstore: implement partition manipulation functions -- [#136879][#136879] [0d2b39732][0d2b39732] roachprod: refactor Monitor -- [#136879][#136879] [23806329e][23806329e] roachprod: refactor Monitor -- [#136879][#136879] [b957e65c3][b957e65c3] roachprod: refactor Monitor -- [#136879][#136879] [1b1b1b763][1b1b1b763] roachprod: refactor Monitor -- [#136879][#136879] [b8371641b][b8371641b] roachprod: refactor Monitor -- [#136879][#136879] [78a873fd4][78a873fd4] roachprod: refactor Monitor -- [#136879][#136879] [a09069f29][a09069f29] roachprod: refactor Monitor -- [#136879][#136879] [f2f1b2ced][f2f1b2ced] roachprod: refactor Monitor - -

Doc updates

- -{% comment %}Docs team: Please add these manually.{% endcomment %} - - +- A bounded memory leak that could occur when evaluating some memory-intensive queries using the vectorized engine in CockroachDB has now been fixed. This leak has been present since v20.2. [#138804][#138804] +- Fixed a bug where columns created with `GENERATED ... BY IDENTITY` with the `SERIAL` type could incorrectly fail internal validations. [#139084][#139084] [#136879]: https://github.com/cockroachdb/cockroach/pull/136879 [#137319]: https://github.com/cockroachdb/cockroach/pull/137319 From dd18d1445d59bb68f75e377ca38dbb1d2aca3d60 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Fri, 17 Jan 2025 13:16:04 -0500 Subject: [PATCH 3/5] fixed versions.csv: for v25.1set crdb_branch_name to release-24.3 so that sql-grammar page does not have a 404 error. --- 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 278e4c377bd..45c9397872a 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.3,release-25.1 +v25.1,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,v24.3,release-24.3 From 81ec576f1442623aa616de69acc8ecc86d681104 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Fri, 17 Jan 2025 14:45:34 -0500 Subject: [PATCH 4/5] =?UTF-8?q?Incorporated=20Ryan=E2=80=99s=20feedback.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/current/_includes/releases/v25.1/v25.1.0-beta.1.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md index 27a9de4b629..e0724e7c5b4 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md @@ -11,18 +11,18 @@ Release Date: January 20, 2025

SQL language changes

- When you run `CREATE LOGICALLY REPLICATED TABLE`, you must specify one of the following options: - - `UNIDIRECTIONAL`: sets up a unidirectional stream with fast initial scan - - `BIDIRECTIONAL ON {destination uri}`: sets up a bidirectional stream from the original destination to the original source. [#138297][#138297] -- Logical data replication (LDR) and physical cluster replication (PCR) may use the `crdb_route=gateway` query option to route the replication streams over a load balancer. [#138697][#138697] + - `UNIDIRECTIONAL`: Sets up a unidirectional stream with fast initial scan + - `BIDIRECTIONAL ON {destination uri}`: Sets up a bidirectional stream from the original destination to the original source. [#138297][#138297] +- Logical data replication (LDR) and physical cluster replication (PCR) may now use the `crdb_route=gateway` query option to route the replication streams over a load balancer. [#138697][#138697]

Operational changes

- The `node decommission` CLI command now waits until the target node is fully drained before marking it as decommissioned. Previously, the command would initiate the drain process but not wait for its completion, leaving the target node in a state where it could not communicate with the cluster but would still accept client requests, causing them to hang or encounter unexpected errors. [#138732][#138732] -- The cluster setting `changefeed.frontier_highwater_lag_checkpoint_threshold` has been renamed to `changefeed.span_checkpoint.lag_threshold`. The old name is still available for backward compatibility. [#139064][#139064] +- The cluster setting `changefeed.frontier_highwater_lag_checkpoint_threshold` has been renamed to `changefeed.span_checkpoint.lag_threshold`. The previous name is still available for backward compatibility. [#139064][#139064]

Bug fixes

-- A bounded memory leak that could occur when evaluating some memory-intensive queries using the vectorized engine in CockroachDB has now been fixed. This leak has been present since v20.2. [#138804][#138804] +- Fixed a bounded memory leak that could occur when evaluating some memory-intensive queries using the vectorized. This leak had been present since v20.2. [#138804][#138804] - Fixed a bug where columns created with `GENERATED ... BY IDENTITY` with the `SERIAL` type could incorrectly fail internal validations. [#139084][#139084] [#136879]: https://github.com/cockroachdb/cockroach/pull/136879 From 1a8342f999686dfcde6e5ad7ddab497f23db7ab7 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Fri, 17 Jan 2025 18:00:11 -0500 Subject: [PATCH 5/5] minor changes. --- src/current/_includes/releases/v25.1/v25.1.0-beta.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md index e0724e7c5b4..515d3937cab 100644 --- a/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md +++ b/src/current/_includes/releases/v25.1/v25.1.0-beta.1.md @@ -11,7 +11,7 @@ Release Date: January 20, 2025

SQL language changes

- When you run `CREATE LOGICALLY REPLICATED TABLE`, you must specify one of the following options: - - `UNIDIRECTIONAL`: Sets up a unidirectional stream with fast initial scan + - `UNIDIRECTIONAL`: Sets up a unidirectional stream with fast initial scan. - `BIDIRECTIONAL ON {destination uri}`: Sets up a bidirectional stream from the original destination to the original source. [#138297][#138297] - Logical data replication (LDR) and physical cluster replication (PCR) may now use the `crdb_route=gateway` query option to route the replication streams over a load balancer. [#138697][#138697] @@ -22,7 +22,7 @@ Release Date: January 20, 2025

Bug fixes

-- Fixed a bounded memory leak that could occur when evaluating some memory-intensive queries using the vectorized. This leak had been present since v20.2. [#138804][#138804] +- Fixed a bounded memory leak that could occur when evaluating some memory-intensive queries using the vectorized engine. This leak had been present since v20.2. [#138804][#138804] - Fixed a bug where columns created with `GENERATED ... BY IDENTITY` with the `SERIAL` type could incorrectly fail internal validations. [#139084][#139084] [#136879]: https://github.com/cockroachdb/cockroach/pull/136879