|
| 1 | +## v25.4.0-rc.1 |
| 2 | + |
| 3 | +Release Date: October 22, 2025 |
| 4 | + |
| 5 | +{% include releases/new-release-downloads-docker-image.md release=include.release %} |
| 6 | + |
| 7 | +<h3 id="v25-4-0-rc-1-sql-language-changes">SQL language changes</h3> |
| 8 | + |
| 9 | +- Changed scan misestimate logging gated behind |
| 10 | + `sql.log.scan_row_count_misestimate.enabled` to use structured logging |
| 11 | + including the table and index being scanned, the estimated and actual |
| 12 | + row counts, the time since the last table stats collection, and the |
| 13 | + table's estimated staleness. [#155123][#155123] |
| 14 | +- Added a default-off cluster setting |
| 15 | + (`sql.log.scan_row_count_misestimate.enabled`) that enables logging a |
| 16 | + warning on the gateway node when optimizer estimates for scans are |
| 17 | + inaccurate. The log message includes the table and index being scanned, |
| 18 | + the estimated and actual row counts, the time since the last table stats |
| 19 | + collection, and the table's estimated staleness. [#155123][#155123] |
| 20 | +- Added the `INSPECT` command, which runs consistency validation check jobs against tables or databases and specified indexes. [#155441][#155441] |
| 21 | +- Added the |
| 22 | + `bulkio.index_backfill.vector_merge_batch_size cluster` setting to control |
| 23 | + how many vectors to merge into a vector index per transaction during |
| 24 | + create operations. By default, this defaults to 3. [#155509][#155509] |
| 25 | +- Vector indexing is now enabled by default. [#155561][#155561] |
| 26 | + |
| 27 | +<h3 id="v25-4-0-rc-1-bug-fixes">Bug fixes</h3> |
| 28 | + |
| 29 | +- Fixed a bug that caused internal errors for `INSERT .. ON CONFLICT .. DO UPDATE` statements when the target table had both a computed column and a `BEFORE` trigger. This bug was present since triggers were introduced in v24.3.0. [#155077][#155077] |
| 30 | +- Disable a feature |
| 31 | + (`kv.lock_table.unreplicated_lock_reliability.split.enabled`) that could |
| 32 | + lead to a node crash. [#155366][#155366] |
| 33 | +- Previously, we could corrupt the first bucket of |
| 34 | + table statistic histograms in certain cases, causing underestimates for |
| 35 | + range counts near the lower end of the domain, which is now fixed. [#155415][#155415] |
| 36 | +- A potential deadlock during vector index |
| 37 | + creation has been corrected. [#155508][#155508] |
| 38 | +- Added proper dependency handling when adding a constraint with `NOT VALID` that references a user-defined function (UDF). [#155528][#155528] |
| 39 | + |
| 40 | + |
| 41 | +[#155123]: https://github.com/cockroachdb/cockroach/pull/155123 |
| 42 | +[#155441]: https://github.com/cockroachdb/cockroach/pull/155441 |
| 43 | +[#155508]: https://github.com/cockroachdb/cockroach/pull/155508 |
| 44 | +[#155509]: https://github.com/cockroachdb/cockroach/pull/155509 |
| 45 | +[#155561]: https://github.com/cockroachdb/cockroach/pull/155561 |
| 46 | +[#155077]: https://github.com/cockroachdb/cockroach/pull/155077 |
| 47 | +[#155366]: https://github.com/cockroachdb/cockroach/pull/155366 |
| 48 | +[#155415]: https://github.com/cockroachdb/cockroach/pull/155415 |
| 49 | +[#155528]: https://github.com/cockroachdb/cockroach/pull/155528 |
0 commit comments