Skip to content

Commit 9bc3655

Browse files
Merge branch 'main' into 20251016-DOC-13254-alter-external-connection
2 parents a71e6a8 + fe38e8c commit 9bc3655

File tree

4 files changed

+85
-2
lines changed

4 files changed

+85
-2
lines changed

src/current/_data/releases.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9723,7 +9723,7 @@
97239723
a CockroachDB self-hosted cluster to this version,
97249724
[contact support](https://support.cockroachlabs.com/hc/requests/new).
97259725
9726-
9726+
97279727
- release_name: v25.3.3
97289728
major_version: v25.3
97299729
release_date: '2025-10-17'
@@ -9756,4 +9756,32 @@
97569756
This version is currently available only for select
97579757
CockroachDB Cloud clusters. To request to upgrade
97589758
a CockroachDB self-hosted cluster to this version,
9759-
[contact support](https://support.cockroachlabs.com/hc/requests/new).
9759+
[contact support](https://support.cockroachlabs.com/hc/requests/new).
9760+
9761+
9762+
- release_name: v25.4.0-rc.1
9763+
major_version: v25.4
9764+
release_date: '2025-10-22'
9765+
release_type: Testing
9766+
go_version: go1.23.12
9767+
sha: 1de9c4bc217dca385a4f912dbdf828bc5629711a
9768+
has_sql_only: true
9769+
has_sha256sum: true
9770+
mac:
9771+
mac_arm: true
9772+
mac_arm_experimental: true
9773+
mac_arm_limited_access: false
9774+
windows: true
9775+
linux:
9776+
linux_arm: true
9777+
linux_arm_experimental: false
9778+
linux_arm_limited_access: false
9779+
linux_intel_fips: true
9780+
linux_arm_fips: false
9781+
docker:
9782+
docker_image: cockroachdb/cockroach-unstable
9783+
docker_arm: true
9784+
docker_arm_experimental: false
9785+
docker_arm_limited_access: false
9786+
source: true
9787+
previous_release: v25.4.0-beta.3

src/current/_includes/molt/migration-schema-design-practices.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Convert the source schema into a CockroachDB-compatible schema. CockroachDB supp
3232

3333
- Every table **must** have an explicit primary key. For more information, refer to [Primary key best practices]({% link {{ site.current_cloud_version }}/schema-design-table.md %}#primary-key-best-practices).
3434

35+
{{site.data.alerts.callout_danger}}
36+
Avoid using sequential keys. To learn more about the performance issues that can result from their use, refer to the [guidance on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you must create it manually, after using [MOLT Fetch]({% link molt/molt-fetch.md %}) to load and replicate the data.
37+
{{site.data.alerts.end}}
38+
3539
- Review [Transformations]({% link molt/molt-fetch.md %}#transformations) to understand how computed columns and partitioned tables can be mapped to the target, and how target tables can be renamed.
3640

3741
- By default on CockroachDB, `INT` is an alias for `INT8`, which creates 64-bit signed integers. PostgreSQL and MySQL default to 32-bit integers. Depending on your source database or application requirements, you may need to change the integer size to `4`. For more information, refer to [Considerations for 64-bit signed integers]({% link {{ site.current_cloud_version }}/int.md %}#considerations-for-64-bit-signed-integers).
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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

src/current/molt/molt-fetch.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ To verify that your connections and configuration work properly, run MOLT Fetch
125125

126126
- {% include molt/molt-drop-constraints-indexes.md %}
127127

128+
- MOLT Fetch does not support migrating sequences. If your source database contains sequences, refer to the [guidance on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you must create it manually. After using MOLT Fetch to load and replicate the data onto the target, but before cutover, make sure to update each sequence's current value using [`setval()`]({% link {{site.current_cloud_version}}/functions-and-operators.md %}#sequence-functions) so that new inserts continue from the correct point.
129+
128130
## Security recommendations
129131

130132
Cockroach Labs **strongly** recommends the following:

0 commit comments

Comments
 (0)