From 8b887255cef945660e4e558427029d8f606f6c3f Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:03 +0000 Subject: [PATCH 1/6] Update release notes for v25.4-v25.4.7 From 88d121ce8fcd8a6d2b088a8c850f2e21490504ea Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:06 +0000 Subject: [PATCH 2/6] Update release notes for v25.4-v25.4.7 --- src/current/_data/releases.yml | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 1fd3ffed9f3..23032bbc312 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -10949,3 +10949,38 @@ docker_arm_limited_access: false source: true previous_release: v26.2.0-alpha.2 + + +- release_name: v25.4.7 + major_version: v25.4 + release_date: '2026-04-03' + release_type: Production + go_version: go1.25.5 + sha: a17e6745386911759cf41614532e0f0a06f111df + 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 + docker_arm: true + docker_arm_experimental: false + docker_arm_limited_access: false + source: true + previous_release: v25.4.6 + cloud_only: true + cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters' + cloud_only_message: > + This version is currently available only for select + CockroachDB Cloud clusters. To request to upgrade + a CockroachDB self-hosted cluster to this version, + [contact support](https://support.cockroachlabs.com/hc/requests/new). From d478504e80bdd5b77f9281c6fa85677d8dbbe529 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:08 +0000 Subject: [PATCH 3/6] Update release notes for v25.4-v25.4.7 --- .../_includes/releases/v25.4/v25.4.7.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/current/_includes/releases/v25.4/v25.4.7.md diff --git a/src/current/_includes/releases/v25.4/v25.4.7.md b/src/current/_includes/releases/v25.4/v25.4.7.md new file mode 100644 index 00000000000..f9f2adb85c6 --- /dev/null +++ b/src/current/_includes/releases/v25.4/v25.4.7.md @@ -0,0 +1,29 @@ +## v25.4.7 + +Release Date: April 3, 2026 + +{% include releases/new-release-downloads-docker-image.md release=include.release %} + +

Command-line changes

+ +- The `cockroach debug zip` command's `--include-files` and `--exclude-files` flags now support full zip path patterns. Patterns containing `/` are matched against the full path within the zip archive (e.g., `--include-files='debug/nodes/1/*.json'`). Patterns without `/` continue to match the base file name as before. [#164149][#164149] + +

Bug fixes

+ +- Fixed a bug that prevented the `optimizer_min_row_count` setting from applying to anti-join expressions, which could lead to bad query plans. The fix is gated behind `optimizer_use_min_row_count_anti_join_fix`, which is on by default on v26.2 and later, and off by default in earlier versions. [#164799][#164799] +- Fixed a bug where CockroachDB did not always promptly respond to the statement timeout when performing a hash join with `ON` filter that is mostly `false`. [#164890][#164890] +- Fixed a bug introduced in v25.4+ where setting `min_checkpoint_frequency` to `0` prevented changefeeds from advancing their resolved timestamp (high-water mark) and emitting resolved messages. Note that setting `min_checkpoint_frequency` to lower than `500ms` is **not** recommended as it may cause degraded changefeed performance. [#164894][#164894] +- Lowered the default value of the `changefeed.max_retry_backoff` cluster setting from `10m` to `30s` to reduce changefeed lag during rolling restarts. [#164935][#164935] +- Fixed a bug that could cause row sampling for table statistics to crash a node due to a data race when processing a collated string column with values larger than 400 bytes. This bug has existed since before v23.1. [#165566][#165566] +- Fixed a bug in the legacy schema changer where rolling back a `CREATE TABLE` with inline `FOREIGN KEY` constraints could leave orphaned foreign key back-references on the referenced table, causing descriptor validation errors. [#166197][#166197] +- Fixed a bug where rolling back a `CREATE TABLE` that referenced user-defined types or sequences would leave orphaned back-references on the type and sequence descriptors, causing them to appear in `crdb_internal.invalid_objects` after the table was GC'd. [#166225][#166225] + + +[#166225]: https://github.com/cockroachdb/cockroach/pull/166225 +[#164149]: https://github.com/cockroachdb/cockroach/pull/164149 +[#164799]: https://github.com/cockroachdb/cockroach/pull/164799 +[#164890]: https://github.com/cockroachdb/cockroach/pull/164890 +[#164894]: https://github.com/cockroachdb/cockroach/pull/164894 +[#164935]: https://github.com/cockroachdb/cockroach/pull/164935 +[#165566]: https://github.com/cockroachdb/cockroach/pull/165566 +[#166197]: https://github.com/cockroachdb/cockroach/pull/166197 From b7126ad2b7044641d981d622a9dd13efd0c5c2ff Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:50:41 +0000 Subject: [PATCH 4/6] Update release notes for v25.4-v25.4.7 From b055e863ee4bc8ad33d3b435b4fe56b3c907cfeb Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:50:42 +0000 Subject: [PATCH 5/6] Update release notes for v25.4-v25.4.7 --- src/current/_data/releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_data/releases.yml b/src/current/_data/releases.yml index 23032bbc312..48881449e3f 100644 --- a/src/current/_data/releases.yml +++ b/src/current/_data/releases.yml @@ -10956,7 +10956,7 @@ release_date: '2026-04-03' release_type: Production go_version: go1.25.5 - sha: a17e6745386911759cf41614532e0f0a06f111df + sha: d3992fa83901a712c20b850f80561a3acab3f9c9 has_sql_only: true has_sha256sum: true mac: From f2510fd1be01b899c4b8798ad5633f4b0f7aba13 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:50:43 +0000 Subject: [PATCH 6/6] Update release notes for v25.4-v25.4.7 --- src/current/_includes/releases/v25.4/v25.4.7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/_includes/releases/v25.4/v25.4.7.md b/src/current/_includes/releases/v25.4/v25.4.7.md index f9f2adb85c6..66f05862f30 100644 --- a/src/current/_includes/releases/v25.4/v25.4.7.md +++ b/src/current/_includes/releases/v25.4/v25.4.7.md @@ -19,6 +19,7 @@ Release Date: April 3, 2026 - Fixed a bug where rolling back a `CREATE TABLE` that referenced user-defined types or sequences would leave orphaned back-references on the type and sequence descriptors, causing them to appear in `crdb_internal.invalid_objects` after the table was GC'd. [#166225][#166225] +[#166197]: https://github.com/cockroachdb/cockroach/pull/166197 [#166225]: https://github.com/cockroachdb/cockroach/pull/166225 [#164149]: https://github.com/cockroachdb/cockroach/pull/164149 [#164799]: https://github.com/cockroachdb/cockroach/pull/164799 @@ -26,4 +27,3 @@ Release Date: April 3, 2026 [#164894]: https://github.com/cockroachdb/cockroach/pull/164894 [#164935]: https://github.com/cockroachdb/cockroach/pull/164935 [#165566]: https://github.com/cockroachdb/cockroach/pull/165566 -[#166197]: https://github.com/cockroachdb/cockroach/pull/166197