From e778810c994a3bb42105c08b48bb09706529ea90 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:53 +0000 Subject: [PATCH 1/6] Update release notes for v26.1-v26.1.2 From 71b73e4a617cd70262ffab2e4be6b3b9337d961e Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:54 +0000 Subject: [PATCH 2/6] Update release notes for v26.1-v26.1.2 --- 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..26ed3b5e85f 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: v26.1.2 + major_version: v26.1 + release_date: '2026-04-03' + release_type: Production + go_version: go1.25.5 + sha: 02b71a2f8badd4305d86e7e4975a353e461b1a88 + 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: v26.1.1 + 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 db70ece229a6b235b6eac062455605d28e93ffb0 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 11:02:55 +0000 Subject: [PATCH 3/6] Update release notes for v26.1-v26.1.2 --- .../_includes/releases/v26.1/v26.1.2.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/current/_includes/releases/v26.1/v26.1.2.md diff --git a/src/current/_includes/releases/v26.1/v26.1.2.md b/src/current/_includes/releases/v26.1/v26.1.2.md new file mode 100644 index 00000000000..17c67c590f2 --- /dev/null +++ b/src/current/_includes/releases/v26.1/v26.1.2.md @@ -0,0 +1,46 @@ +## v26.1.2 + +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. [#164146][#164146] + +

Bug fixes

+ +- Fixed a bug where contention events reported + the wrong key. Previously, the key field in contention events showed + the transaction's anchor key (used for record placement) rather than + the actual key where the conflict occurred. This made it difficult to + diagnose contention issues accurately. + + Co-Authored-By: Claude Opus 4.5 [#164157][#164157] +- Fixed a bug where `CREATE INDEX` on a table with `PARTITION ALL BY` would fail if the partition columns were explicitly included in the primary key definition. [#164754][#164754] +- 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. [#164798][#164798] +- 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`. [#164891][#164891] +- 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. [#164892][#164892] +- Lowered the default value of the `changefeed.max_retry_backoff` cluster setting from `10m` to `30s` to reduce changefeed lag during rolling restarts. [#164936][#164936] +- Fixed a rare race condition where `SHOW CREATE TABLE` could fail with a `"relation does not exist"` error if a table referenced by a foreign key was being concurrently dropped. [#165274][#165274] +- 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. [#165562][#165562] +- 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. [#165994][#165994] +- Fixed a bug where restoring a database backup containing default privileges that referenced non-existent users would leave dangling user references in the restored database descriptor. [#166226][#166226] + +

Build changes

+ +- Replaces bors with Trunk merge queue for better performance and reliability. Configuration-only change with no runtime impact - maintains same safety checks while improving CI workflow. [#166814][#166814] + + +[#164936]: https://github.com/cockroachdb/cockroach/pull/164936 +[#165274]: https://github.com/cockroachdb/cockroach/pull/165274 +[#166226]: https://github.com/cockroachdb/cockroach/pull/166226 +[#166814]: https://github.com/cockroachdb/cockroach/pull/166814 +[#164157]: https://github.com/cockroachdb/cockroach/pull/164157 +[#164754]: https://github.com/cockroachdb/cockroach/pull/164754 +[#164798]: https://github.com/cockroachdb/cockroach/pull/164798 +[#164891]: https://github.com/cockroachdb/cockroach/pull/164891 +[#164146]: https://github.com/cockroachdb/cockroach/pull/164146 +[#164892]: https://github.com/cockroachdb/cockroach/pull/164892 +[#165562]: https://github.com/cockroachdb/cockroach/pull/165562 +[#165994]: https://github.com/cockroachdb/cockroach/pull/165994 From d418872f0d1490d20da824e92c503c0c1bb27ce6 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:51:13 +0000 Subject: [PATCH 4/6] Update release notes for v26.1-v26.1.2 From 179b4a443bc12a204fdd585b3a987474caa4e5f8 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:51:13 +0000 Subject: [PATCH 5/6] Update release notes for v26.1-v26.1.2 --- 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 26ed3b5e85f..ab78914b1e6 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: 02b71a2f8badd4305d86e7e4975a353e461b1a88 + sha: 124a168e515e99109d857fccf020804adebbc0c0 has_sql_only: true has_sha256sum: true mac: From 67d71653e4c796ecd78f68372cf96ffd6d4d5fd6 Mon Sep 17 00:00:00 2001 From: Automated Release Bot Date: Wed, 1 Apr 2026 16:51:14 +0000 Subject: [PATCH 6/6] Update release notes for v26.1-v26.1.2 --- src/current/_includes/releases/v26.1/v26.1.2.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/current/_includes/releases/v26.1/v26.1.2.md b/src/current/_includes/releases/v26.1/v26.1.2.md index 17c67c590f2..dc6b63633b5 100644 --- a/src/current/_includes/releases/v26.1/v26.1.2.md +++ b/src/current/_includes/releases/v26.1/v26.1.2.md @@ -32,15 +32,15 @@ Release Date: April 3, 2026 - Replaces bors with Trunk merge queue for better performance and reliability. Configuration-only change with no runtime impact - maintains same safety checks while improving CI workflow. [#166814][#166814] +[#164798]: https://github.com/cockroachdb/cockroach/pull/164798 +[#164892]: https://github.com/cockroachdb/cockroach/pull/164892 [#164936]: https://github.com/cockroachdb/cockroach/pull/164936 [#165274]: https://github.com/cockroachdb/cockroach/pull/165274 -[#166226]: https://github.com/cockroachdb/cockroach/pull/166226 -[#166814]: https://github.com/cockroachdb/cockroach/pull/166814 +[#165994]: https://github.com/cockroachdb/cockroach/pull/165994 +[#164146]: https://github.com/cockroachdb/cockroach/pull/164146 [#164157]: https://github.com/cockroachdb/cockroach/pull/164157 [#164754]: https://github.com/cockroachdb/cockroach/pull/164754 -[#164798]: https://github.com/cockroachdb/cockroach/pull/164798 +[#166814]: https://github.com/cockroachdb/cockroach/pull/166814 [#164891]: https://github.com/cockroachdb/cockroach/pull/164891 -[#164146]: https://github.com/cockroachdb/cockroach/pull/164146 -[#164892]: https://github.com/cockroachdb/cockroach/pull/164892 [#165562]: https://github.com/cockroachdb/cockroach/pull/165562 -[#165994]: https://github.com/cockroachdb/cockroach/pull/165994 +[#166226]: https://github.com/cockroachdb/cockroach/pull/166226