Skip to content

Commit b62a298

Browse files
release-notes-automation[bot]Automated Release Botflorence-crl
authored
Release Notes for v25.2-v25.2.2 (#19816)
* Update release notes for v25.2-v25.2.2 * Removed duplicate release note. --------- Co-authored-by: Automated Release Bot <[email protected]> Co-authored-by: Florence Morris <[email protected]>
1 parent e8d0b64 commit b62a298

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

src/current/_data/releases.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8905,6 +8905,7 @@
89058905
a CockroachDB self-hosted cluster to this version,
89068906
[contact support](https://support.cockroachlabs.com/hc/requests/new).
89078907
8908+
89088909
- release_name: v25.1.8
89098910
major_version: v25.1
89108911
release_date: '2025-06-25'
@@ -8938,3 +8939,38 @@
89388939
CockroachDB Cloud clusters. To request to upgrade
89398940
a CockroachDB self-hosted cluster to this version,
89408941
[contact support](https://support.cockroachlabs.com/hc/requests/new).
8942+
8943+
8944+
- release_name: v25.2.2
8945+
major_version: v25.2
8946+
release_date: '2025-06-25'
8947+
release_type: Production
8948+
go_version: go1.23.7
8949+
sha: 0780d511bd527bfd9d02f4c7ca5ecc19115d9f5e
8950+
has_sql_only: true
8951+
has_sha256sum: true
8952+
mac:
8953+
mac_arm: true
8954+
mac_arm_experimental: true
8955+
mac_arm_limited_access: false
8956+
windows: true
8957+
linux:
8958+
linux_arm: true
8959+
linux_arm_experimental: false
8960+
linux_arm_limited_access: false
8961+
linux_intel_fips: true
8962+
linux_arm_fips: false
8963+
docker:
8964+
docker_image: cockroachdb/cockroach
8965+
docker_arm: true
8966+
docker_arm_experimental: false
8967+
docker_arm_limited_access: false
8968+
source: true
8969+
previous_release: v25.2.1
8970+
cloud_only: true
8971+
cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters'
8972+
cloud_only_message: >
8973+
This version is currently available only for select
8974+
CockroachDB Cloud clusters. To request to upgrade
8975+
a CockroachDB self-hosted cluster to this version,
8976+
[contact support](https://support.cockroachlabs.com/hc/requests/new).
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
## v25.2.2
2+
3+
Release Date: June 25, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v25-2-2-operational-changes">Operational changes</h3>
8+
9+
- When `server.telemetry.hot_ranges_stats.enabled` cluster setting is enabled, nodes now log hot ranges every minute if they exceed 250ms of CPU time per second. In multi-tenant deployments, this check occurs every 5 minutes at the cluster level, improving visibility into transient performance issues.
10+
[#146887][#146887]
11+
- Added a new metric, `kv.loadsplitter.cleardirection`, which increments when the load-based splitter observes that more than 80% of replica access samples are moving in a single direction (either left/descending or right/ascending).
12+
[#147169][#147169]
13+
14+
<h3 id="v25-2-2-db-console-changes">DB Console changes</h3>
15+
16+
- The Hot Ranges page node filter has been moved out of the main filter container and now filters nodes on the backend to reduce load time.
17+
[#147778][#147778]
18+
19+
<h3 id="v25-2-2-bug-fixes">Bug fixes</h3>
20+
21+
- Fixed a bug that could cause the `cockroach` process to `segfault` when collecting runtime execution traces (typically collected via the **Advanced Debug** page in the Console).
22+
[#146886][#146886]
23+
- Fixed a bug where the `kv.rangefeed.closed_timestamp.slow_ranges` would not be incremented when a rangefeed closed timestamp was slower than the target threshold.
24+
[#146975][#146975]
25+
- Fixed a bug that could cause an `AFTER` trigger to fail with `client already committed or rolled back the transaction` if the query also contained foreign-key cascades. The bug had existed since `AFTER` triggers were introduced in v24.3.
26+
[#146977][#146977]
27+
- Fixed a bug that caused the SQL Activity > Statement Fingerprint page to fail to load details for statements run with application names containing a `#` character.
28+
[#147223][#147223]
29+
- Previously, CockroachDB could incorrectly evaluate the `to_regclass`, `to_regnamespace`, `to_regproc`, `to_regprocedure`, `to_regrole`, and `to_regtype` built-in functions when the query using them was evaluated in a distributed fashion. The bug was introduced with these built-in functions in v23.1 and is now fixed.
30+
[#147376][#147376]
31+
- Fixed a bug that caused the optimizer to ignore index hints when optimizing some forms of prepared statements. This could result in one of two unexpected behaviors: a query errors with the message `index cannot be used for this query` when the index can actually be used; or a query uses an index that does not adhere to the hint. The hints relevant to this bug are regular index hints, e.g., `SELECT * FROM tab@index`, `FORCE_INVERTED_INDEX`, and `FORCE_ZIGZAG`.
32+
[#147417][#147417]
33+
- Fixed a bug where the `pg_catalog.pg_policy` table could contain duplicate OID values when multiple tables had policies with the same policy ID. All rows in `pg_policy` now have unique OIDs as required.
34+
[#147438][#147438]
35+
- Fixed a bug that could cause stable expressions to be folded in cached query plans. The bug could cause stable expressions like `current_setting` to return the wrong result if used in a prepared statement. The bug was introduced in v23.2.22, v24.1.14, v24.3.9, v25.1.2, and the v25.2 alpha.
36+
[#147460][#147460]
37+
- Fixed a runtime panic in the `substring_index` function that occurred when the count argument was the minimum 64-bit integer value.
38+
[#147549][#147549]
39+
- Fixed a memory leak in index backfill jobs where completed spans were duplicated in memory on each progress update after resuming from a checkpoint. This could cause out-of-memory (OOM) errors when backfilling indexes on large tables with many ranges. This bug affected release version v25.2.0 and pre-release versions v25.2.0-alpha.3 through v25.2.0-rc.1.
40+
[#147563][#147563]
41+
- Fixed a bug where prepared statements on schema changes could fail with runtime errors.
42+
[#147671][#147671]
43+
- Fixed a bug where `ALTER TABLE` was modifying identity attributes on columns not backed by a sequence.
44+
[#147711][#147711]
45+
46+
<h3 id="v25-2-2-performance-improvements">Performance improvements</h3>
47+
48+
- TTL jobs now respond to cluster topology changes by restarting and rebalancing across available nodes.
49+
[#147083][#147083]
50+
51+
<h3 id="v25-2-2-miscellaneous">Miscellaneous</h3>
52+
53+
- Fixed an issue in Logical Data Replication (LDR) where unique indexes with lower index IDs than the primary key could cause incorrect DLQ entries during replication.
54+
[#147350][#147350]
55+
56+
57+
[#147169]: https://github.com/cockroachdb/cockroach/pull/147169
58+
[#147778]: https://github.com/cockroachdb/cockroach/pull/147778
59+
[#146886]: https://github.com/cockroachdb/cockroach/pull/146886
60+
[#146975]: https://github.com/cockroachdb/cockroach/pull/146975
61+
[#147223]: https://github.com/cockroachdb/cockroach/pull/147223
62+
[#147417]: https://github.com/cockroachdb/cockroach/pull/147417
63+
[#146887]: https://github.com/cockroachdb/cockroach/pull/146887
64+
[#147671]: https://github.com/cockroachdb/cockroach/pull/147671
65+
[#147350]: https://github.com/cockroachdb/cockroach/pull/147350
66+
[#147376]: https://github.com/cockroachdb/cockroach/pull/147376
67+
[#147438]: https://github.com/cockroachdb/cockroach/pull/147438
68+
[#147460]: https://github.com/cockroachdb/cockroach/pull/147460
69+
[#147532]: https://github.com/cockroachdb/cockroach/pull/147532
70+
[#147563]: https://github.com/cockroachdb/cockroach/pull/147563
71+
[#146977]: https://github.com/cockroachdb/cockroach/pull/146977
72+
[#147711]: https://github.com/cockroachdb/cockroach/pull/147711
73+
[#147083]: https://github.com/cockroachdb/cockroach/pull/147083
74+
[#147549]: https://github.com/cockroachdb/cockroach/pull/147549

0 commit comments

Comments
 (0)