Skip to content

Commit d9586ed

Browse files
authored
Merge branch 'main' into known-limitations-25.4
2 parents f15c49a + 4d0e124 commit d9586ed

19 files changed

+1318
-639
lines changed

src/current/_data/releases.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9767,3 +9767,84 @@
97679767
docker_arm_limited_access: false
97689768
source: true
97699769
previous_release: v25.4.0-beta.3
9770+
9771+
- release_name: v24.3.22
9772+
major_version: v24.3
9773+
release_date: '2025-10-30'
9774+
release_type: Production
9775+
go_version: go1.25.3
9776+
sha: 303aedc82bbb8ef1b70f10cd91fcfc01d967d799
9777+
has_sql_only: true
9778+
has_sha256sum: true
9779+
mac:
9780+
mac_arm: true
9781+
mac_arm_experimental: true
9782+
mac_arm_limited_access: false
9783+
windows: true
9784+
linux:
9785+
linux_arm: true
9786+
linux_arm_experimental: false
9787+
linux_arm_limited_access: false
9788+
linux_intel_fips: true
9789+
linux_arm_fips: false
9790+
docker:
9791+
docker_image: cockroachdb/cockroach
9792+
docker_arm: true
9793+
docker_arm_experimental: false
9794+
docker_arm_limited_access: false
9795+
source: true
9796+
previous_release: v24.3.21
9797+
9798+
- release_name: v25.2.8
9799+
major_version: v25.2
9800+
release_date: '2025-10-30'
9801+
release_type: Production
9802+
go_version: go1.25.3
9803+
sha: 74dbb7ba6b71f6d336334f8fa6f5d002506a49d4
9804+
has_sql_only: true
9805+
has_sha256sum: true
9806+
mac:
9807+
mac_arm: true
9808+
mac_arm_experimental: true
9809+
mac_arm_limited_access: false
9810+
windows: true
9811+
linux:
9812+
linux_arm: true
9813+
linux_arm_experimental: false
9814+
linux_arm_limited_access: false
9815+
linux_intel_fips: true
9816+
linux_arm_fips: false
9817+
docker:
9818+
docker_image: cockroachdb/cockroach
9819+
docker_arm: true
9820+
docker_arm_experimental: false
9821+
docker_arm_limited_access: false
9822+
source: true
9823+
previous_release: v25.2.7
9824+
9825+
- release_name: v25.3.4
9826+
major_version: v25.3
9827+
release_date: '2025-10-30'
9828+
release_type: Production
9829+
go_version: go1.25.3
9830+
sha: 1cddb3a22695e967197844b214115eb645473efe
9831+
has_sql_only: true
9832+
has_sha256sum: true
9833+
mac:
9834+
mac_arm: true
9835+
mac_arm_experimental: true
9836+
mac_arm_limited_access: false
9837+
windows: true
9838+
linux:
9839+
linux_arm: true
9840+
linux_arm_experimental: false
9841+
linux_arm_limited_access: false
9842+
linux_intel_fips: true
9843+
linux_arm_fips: false
9844+
docker:
9845+
docker_image: cockroachdb/cockroach
9846+
docker_arm: true
9847+
docker_arm_experimental: false
9848+
docker_arm_limited_access: false
9849+
source: true
9850+
previous_release: v25.3.3

src/current/_data/v25.4/metrics/available-metrics-in-metrics-list.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,3 +483,11 @@ rebalancing.range.rebalances
483483
rebalancing.replicas.cpunanospersecond
484484
rebalancing.replicas.queriespersecond
485485
rebalancing.state.imbalanced_overfull_options_exhausted
486+
sql.routine.delete.count
487+
sql.routine.delete.started.count
488+
sql.routine.insert.count
489+
sql.routine.insert.started.count
490+
sql.routine.select.count
491+
sql.routine.select.started.count
492+
sql.routine.update.count
493+
sql.routine.update.started.count

src/current/_data/v25.4/metrics/metrics.yaml

Lines changed: 1026 additions & 604 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## v24.3.22
2+
3+
Release Date: October 30, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v24-3-22-bug-fixes">Bug fixes</h3>
8+
9+
- Fixed a bug in the `cockroach node drain` command where draining a node using virtual clusters (such as clusters running Physical Cluster Replication (PCR)) could return before the drain was complete, possibly resulting in shutting down the node while it still had active SQL clients and range leases. [#156311][#156311]
10+
11+
[#156311]: https://github.com/cockroachdb/cockroach/pull/156311
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## v25.2.8
2+
3+
Release Date: October 30, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v25-2-8-operational-changes">Operational changes</h3>
8+
9+
- In order to selectively capture traces for transactions running in an active workload without having to capture them via statement diagnostic bundles, customers can now use the `sql.trace.txn.sample_rate` cluster setting to enable tracing for a fraction of their workload. The `sql.trace.txn.enable_threshold` will still need to be set to a positive value to provide a filter for how slow a transaction needs to be after being sampled to merit emitting a trace. Traces are emitted to the `SQL_EXEC` logging channel. [#156409][#156409]
10+
11+
<h3 id="v25-2-8-bug-fixes">Bug fixes</h3>
12+
13+
- Fixed a bug in the `cockroach node drain` command where draining a node using virtual clusters (such as clusters running Physical Cluster Replication (PCR)) could return before the drain was complete, possibly resulting in shutting down the node while it still had active SQL clients and range leases. [#156312][#156312]
14+
15+
[#156409]: https://github.com/cockroachdb/cockroach/pull/156409
16+
[#156312]: https://github.com/cockroachdb/cockroach/pull/156312
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## v25.3.4
2+
3+
Release Date: October 30, 2025
4+
5+
{% include releases/new-release-downloads-docker-image.md release=include.release %}
6+
7+
<h3 id="v25-3-4-bug-fixes">Bug fixes</h3>
8+
9+
- Fixed a bug in the `cockroach node drain` command where draining a node using virtual clusters (such as clusters running Physical Cluster Replication (PCR)) could return before the drain was complete, possibly resulting in shutting down the node while it still had active SQL clients and range leases. [#156313][#156313]
10+
11+
[#156313]: https://github.com/cockroachdb/cockroach/pull/156313

src/current/_includes/releases/v25.4/v25.4.0-beta.2.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Release Date: October 10, 2025
1313

1414
- Added the `SHOW INSPECT ERRORS` command. This command can be used to view issues that are identified by running the `INSPECT` command to validate tables and indexes. [#154337][#154337]
1515
- Added the `sql.catalog.allow_leased_descriptors.enabled` cluster setting, which is false by default. When set to true, queries that access the `pg_catalog` or `information_schema` can use cached leased descriptors to populate the data in those tables, with the tradeoff that some of the data could be stale. [#154491][#154491]
16-
- We now support index acceleration for a subset of jsonb_path_exists filters. Given the `jsonb_path_exists(json_obj, json_path_expression)`, we only support inverted index for json_path_expression that matches one of the following patterns:
17-
- The json_path_expression must NOT be in STRICT mode.
18-
- keychain mode: $.[key|wildcard].[key|wildcard]...
19-
- For this mode, we will generate a prefix span for the inverted expression.
20-
- filter with end value mode, with equality check: $.[key|wildcard]? (@.[key|wildcard].[key|wildcard]... == [string|number|null|boolean])
21-
- For this mode, since the end value is fixed, we will generate a single value span.
22-
- Specifically, we don't support the following edge case:
23-
- $
24-
- $[*]
25-
- $.a.b.c == 12 or $.a.b.c > 12 or $.a.b.c < 12 (operation expression)
26-
- $.a.b ? (@.a > 10) (filter, with inequality check)
27-
- Note that the cases we support is to use `jsonb_path_exists` in filters, as in, when they are used in the WHERE clause. [#154631][#154631]
16+
- CockroachDB now supports index acceleration for certain `jsonb_path_exists` filters used in `WHERE` clauses. Given `jsonb_path_exists(json_obj, json_path_expression)`, an inverted index is supported only when `json_path_expression` matches one of the following patterns:
17+
- The `json_path_expression` must **not** be in `strict` mode.
18+
- Keychain mode: `$.[key|wildcard].[key|wildcard]...`
19+
- In this mode, a prefix span is generated for the inverted expression.
20+
- Filter with end value mode (equality check): `$.[key|wildcard]? (@.[key|wildcard].[key|wildcard]... == [string|number|null|boolean])`
21+
- In this mode, since the end value is fixed, a single value span is generated.
22+
- The following edge cases are **not** supported:
23+
- `$`
24+
- `$[*]`
25+
- `$.a.b.c == 12`, `$.a.b.c > 12`, or `$.a.b.c < 12` (operation expressions)
26+
- `$.a.b ? (@.a > 10)` (filter with inequality check)
27+
[#154631][#154631]
2828
- The optimizer can now use table statistics that merge the latest full statistic with all newer partial statistics, including those over arbitrary constraints over a single span. [#154755][#154755]
2929

3030
<h3 id="v25-4-0-beta-2-operational-changes">Operational changes</h3>

src/current/_includes/v24.1/faq/clock-synchronization-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CockroachDB requires moderate levels of clock synchronization to preserve data c
22

33
Regardless of clock skew, [`SERIALIZABLE`]({% link {{ page.version.version }}/demo-serializable.md %}) and [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) transactions both serve globally consistent ("non-stale") reads and [commit atomically]({% link {{ page.version.version }}/developer-basics.md %}#how-transactions-work-in-cockroachdb). However, skew outside the configured clock offset bounds can result in violations of single-key linearizability between causally dependent transactions. It's therefore important to prevent clocks from drifting too far by running [NTP](http://www.ntp.org/) or other clock synchronization software on each node.
44

5-
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, see [this blog post](https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
5+
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, refer to [this blog post](https://web.archive.org/web/20210420062611/https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
66

77
{{site.data.alerts.callout_danger}}
88
In CockroachDB versions prior to v22.2.13, and in v23.1 versions prior to v23.1.9, the [`--clock-device`](cockroach-start.html#general) flag had a bug that could cause it to generate timestamps in the far future. This could cause nodes to crash due to incorrect timestamps, or in the worst case irreversibly advance the cluster's HLC clock into the far future. This bug is fixed in CockroachDB v23.2.

src/current/_includes/v24.3/faq/clock-synchronization-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CockroachDB requires moderate levels of clock synchronization to preserve data c
22

33
Regardless of clock skew, [`SERIALIZABLE`]({% link {{ page.version.version }}/demo-serializable.md %}) and [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) transactions both serve globally consistent ("non-stale") reads and [commit atomically]({% link {{ page.version.version }}/developer-basics.md %}#how-transactions-work-in-cockroachdb). However, skew outside the configured clock offset bounds can result in violations of single-key linearizability between causally dependent transactions. It's therefore important to prevent clocks from drifting too far by running [NTP](http://www.ntp.org/) or other clock synchronization software on each node.
44

5-
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, see [this blog post](https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
5+
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, refer to [this blog post](https://web.archive.org/web/20210420062611/https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
66

77
{{site.data.alerts.callout_danger}}
88
In CockroachDB versions prior to v22.2.13, and in v23.1 versions prior to v23.1.9, the [`--clock-device`](cockroach-start.html#general) flag had a bug that could cause it to generate timestamps in the far future. This could cause nodes to crash due to incorrect timestamps, or in the worst case irreversibly advance the cluster's HLC clock into the far future. This bug is fixed in CockroachDB v23.2.

src/current/_includes/v25.1/faq/clock-synchronization-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CockroachDB requires moderate levels of clock synchronization to preserve data c
22

33
Regardless of clock skew, [`SERIALIZABLE`]({% link {{ page.version.version }}/demo-serializable.md %}) and [`READ COMMITTED`]({% link {{ page.version.version }}/read-committed.md %}) transactions both serve globally consistent ("non-stale") reads and [commit atomically]({% link {{ page.version.version }}/developer-basics.md %}#how-transactions-work-in-cockroachdb). However, skew outside the configured clock offset bounds can result in violations of single-key linearizability between causally dependent transactions. It's therefore important to prevent clocks from drifting too far by running [NTP](http://www.ntp.org/) or other clock synchronization software on each node.
44

5-
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, see [this blog post](https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
5+
In very rare cases, CockroachDB can momentarily run with a stale clock. This can happen when using vMotion, which can suspend a VM running CockroachDB, migrate it to different hardware, and resume it. This will cause CockroachDB to be out of sync for a short period before it jumps to the correct time. During this window, it would be possible for a client to read stale data and write data derived from stale reads. By enabling the `server.clock.forward_jump_check_enabled` [cluster setting]({% link {{ page.version.version }}/cluster-settings.md %}), you can be alerted when the CockroachDB clock jumps forward, indicating it had been running with a stale clock. To protect against this on vMotion, however, use the [`--clock-device`](cockroach-start.html#general) flag to specify a [PTP hardware clock](https://www.kernel.org/doc/html/latest/driver-api/ptp.html) for CockroachDB to use when querying the current time. When doing so, you should not enable `server.clock.forward_jump_check_enabled` because forward jumps will be expected and harmless. For more information on how `--clock-device` interacts with vMotion, refer to [this blog post](https://web.archive.org/web/20210420062611/https://core.vmware.com/blog/cockroachdb-vmotion-support-vsphere-7-using-precise-timekeeping).
66

77
{{site.data.alerts.callout_danger}}
88
In CockroachDB versions prior to v22.2.13, and in v23.1 versions prior to v23.1.9, the [`--clock-device`](cockroach-start.html#general) flag had a bug that could cause it to generate timestamps in the far future. This could cause nodes to crash due to incorrect timestamps, or in the worst case irreversibly advance the cluster's HLC clock into the far future. This bug is fixed in CockroachDB v23.2.

0 commit comments

Comments
 (0)