Skip to content

Commit

Permalink
v24.3.3 Release Notes (#19289)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeCRL authored Jan 9, 2025
1 parent de9ece2 commit dd7fe41
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7830,3 +7830,31 @@
CockroachDB Cloud clusters. To request to upgrade
a CockroachDB self-hosted cluster to this version,
[contact support](https://support.cockroachlabs.com/hc/requests/new).
- release_name: v24.3.3
major_version: v24.3
release_date: '2025-01-09'
release_type: Production
go_version: go1.22.8
sha: 343b4202e553d58a76a36c60018588615bd4c30a
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: v24.3.2

115 changes: 115 additions & 0 deletions src/current/_includes/releases/v24.3/v24.3.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
## v24.3.3

Release Date: January 9, 2025

{% include releases/new-release-downloads-docker-image.md release=include.release %}

<h3 id="v24-3-3-general-changes">General changes</h3>

- To improve the granularity of changefeed pipeline metrics, the changefeed metrics `changefeed.admit_latency` and `changefeed.commit_latency` have histogram buckets from `5ms` to `60m` (previously `500ms` to `5m`). The following changefeed metrics have histogram buckets from `5ms` to `10m` (previously `500ms` to `5m`):
- `changefeed.parallel_io_queue_nanos`
- `changefeed.parallel_io_result_queue_nanos`
- `changefeed.sink_batch_hist_nanos`
- `changefeed.flush_hist_nanos`
- `changefeed.kafka_throttling_hist_nanos` [#136604][#136604]
- Added support for multiple seed brokers in the new Kafka sink. [#136727][#136727]
- Added a new metric `distsender.rangefeed.catchup_ranges_waiting_client_side` that counts how many rangefeeds are waiting on the client-side limiter to start performing catchup scans. [#136838][#136838]
- Added support for a new `AWS_USE_PATH_STYLE` parameter in S3 URI parsing. [#136934][#136934]

<h3 id="v24-3-3-sql-language-changes">SQL language changes</h3>

- Added support for `SHOW TRIGGERS`, which displays the names of all triggers on a table, and whether each trigger is enabled. The user must have any privilege on the table, or be its owner. [#135862][#135862]
- Added support for `SHOW CREATE TRIGGER`, which displays the CREATE statement for a trigger. The user must have any privilege on the table, or be its owner. [#135862][#135862]
- The names of `BEFORE` triggers fired by a mutation are now included in the `EXPLAIN` output, with the trigger-function invocations also visible in the output of verbose `EXPLAIN`. [#135864][#135864]
- `AFTER` triggers are now included in the output of `EXPLAIN` and `EXPLAIN ANALYZE`. [#135864][#135864]
- Added the `legacy_varchar_typing` session setting, which reverts the changes of [#133037](https://github.com/cockroachdb/cockroach/pull/133037) that causes the change in typing behavior described in [#137837](https://github.com/cockroachdb/cockroach/pull/137837). Specifically, it makes type-checking and overload resolution ignore the newly added "unpreferred" overloads. This setting defaults to `on`. [#137919][#137919]

<h3 id="v24-3-3-operational-changes">Operational changes</h3>

- Removed the `sql.auth.resolve_membership_single_scan.enabled` cluster setting. This was added out of precaution in case it was necessary to revert back to the old behavior for looking up role memberships, but this escape hatch has never been needed in practice since this was added in v23.1. [#136162][#136162]
- Telemetry delivery is now considered successful even in cases of a network timeout. This will prevent throttling in cases outside an operator's control. [#136480][#136480]
- When a schema change job is completed, rolls back, or encounters a failure, the time taken since the job began is now logged in a structured log in the `SQL_SCHEMA` log channel. [#136929][#136929]
- Added a new configurable parameter `kv.transaction.max_intents_and_locks` that will prevent transactions from creating too many intents. [#137687][#137687]
- Added the metric `txn.count_limit_rejected`, which tracks the KV transactions that have been aborted because they exceeded the max number of writes and locking reads allowed. [#137687][#137687]
- Added the metric `txn.count_limit_on_response`, which tracks the number of KV transactions that have exceeded the count limit on a response. [#137687][#137687]

<h3 id="v24-3-3-db-console-changes">DB Console changes</h3>

- The link on the Plan Details page to the legacy Table page has been removed. [#136504][#136504]

<h3 id="v24-3-3-bug-fixes">Bug fixes</h3>

- Previously, CockroachDB would encounter an internal error when evaluating `FETCH ABSOLUTE 0` statements, and this is now fixed. The bug has been present since v22.1. [#134995][#134995]
- Fixed an issue where corrupted table statistics could cause the `cockroach` process to crash. [#136042][#136042]
- A table that is participating in a logical replication stream can no longer be dropped. Previously this was allowed, which would cause all the replicated rows to end up in the dead-letter queue. [#136255][#136255]
- `ALTER COLUMN SET NOT NULL` was not enforced consistently when the table was created in the same transaction. [#136323][#136323]
- Fixed a bug where `CREATE RELATION / TYPE` could leave dangling namespace entries if the schema was concurrently being dropped. [#136378][#136378]
- `security.certificate.*` metrics will now be updated if a node loads new certificates while running. [#136226][#136226]
- The `idle_in_session_timeout` setting now excludes the time spent waiting for schema changer jobs to complete, preventing unintended session termination during schema change operations. [#136490][#136490]
- Fixed a bug that causes the optimizer to use stale table statistics after altering an `ENUM` type used in the table. [#136630][#136630]
- Changes the table, index contents of the hot ranges page in DB console. [#134988][#134988]
- Table statistics collection in CockroachDB could previously run into `no bytes in account to release` errors in some edge cases (when the SQL memory budget, configured via `--max-sql-memory` flag, was close to being exhausted). The bug has been present since v21.2 and is now fixed. [#136166][#136166]
- CockroachDB now better respects `statement_timeout` limit on queries involving the top K sort and merge join operations. [#136653][#136653]
- Fixed an issue where license enforcement was not consistently disabled for single-node clusters started with `cockroach start-single-node`. The fix ensures proper behavior on cluster restarts. [#137012][#137012]
- Fixed a bug that caused queries against tables with user-defined types to sometimes fail with errors after restoring those tables. [#137353][#137353]
- Fixed a bug that causes an incorrect filesystem to be logged as part of the store information. [#137115][#137115]
- Fixed a bug affecting uniqueness enforcement in regional by row tables when using read-committed isolation. The bug, introduced in v24.3.0, could cause internal errors or incorrect uniqueness enforcement in tables that had both non-unique and unique indexes when the region column was not part of the uniqueness constraints. [#137366][#137366]
- Fixed a bug that has existed since v24.1 that would cause a set-returning UDF with `OUT` parameters to return a single row. [#137376][#137376]
- Fixed an issue where adding an existing column with the `IF NOT EXISTS` option could exit too early, skipping necessary handling of the abstract syntax tree (AST). This could lead to failure of the `ALTER` statement. [#137675][#137675]
- An issue where a schema change could incorrectly cause a changefeed to fail with an assertion error like `received boundary timestamp ... of type ... before reaching existing boundary of type ...` has now been fixed. [#137706][#137706]
- Internal scans are now exempt from the `sql.defaults.disallow_full_table_scans.enabled` setting, allowing index creation even when the cluster setting is active. [#137725][#137725]
- The `pg_catalog.pg_type` table no longer contains `NULL` values for the columns `typinput`, `typoutput`, `typreceive`, and `typsend`. `NULL` values were erroneously added for these columns for the `trigger` type in v24.3.0. This could cause unexpected errors with some client libraries. [#137941][#137941]

<h3 id="v24-3-3-performance-improvements">Performance improvements</h3>

- Improved the internal caching logic for role membership information. This reduces the latency impact of commands such as `DROP ROLE`, `CREATE ROLE`, and `GRANT role TO user`, which cause the role membership cache to be invalidated. [#136162][#136162]

[#134988]: https://github.com/cockroachdb/cockroach/pull/134988
[#134995]: https://github.com/cockroachdb/cockroach/pull/134995
[#135862]: https://github.com/cockroachdb/cockroach/pull/135862
[#135864]: https://github.com/cockroachdb/cockroach/pull/135864
[#136042]: https://github.com/cockroachdb/cockroach/pull/136042
[#136162]: https://github.com/cockroachdb/cockroach/pull/136162
[#136166]: https://github.com/cockroachdb/cockroach/pull/136166
[#136226]: https://github.com/cockroachdb/cockroach/pull/136226
[#136255]: https://github.com/cockroachdb/cockroach/pull/136255
[#136323]: https://github.com/cockroachdb/cockroach/pull/136323
[#136326]: https://github.com/cockroachdb/cockroach/pull/136326
[#136378]: https://github.com/cockroachdb/cockroach/pull/136378
[#136480]: https://github.com/cockroachdb/cockroach/pull/136480
[#136490]: https://github.com/cockroachdb/cockroach/pull/136490
[#136504]: https://github.com/cockroachdb/cockroach/pull/136504
[#136604]: https://github.com/cockroachdb/cockroach/pull/136604
[#136630]: https://github.com/cockroachdb/cockroach/pull/136630
[#136653]: https://github.com/cockroachdb/cockroach/pull/136653
[#136680]: https://github.com/cockroachdb/cockroach/pull/136680
[#136727]: https://github.com/cockroachdb/cockroach/pull/136727
[#136838]: https://github.com/cockroachdb/cockroach/pull/136838
[#136929]: https://github.com/cockroachdb/cockroach/pull/136929
[#136934]: https://github.com/cockroachdb/cockroach/pull/136934
[#137012]: https://github.com/cockroachdb/cockroach/pull/137012
[#137051]: https://github.com/cockroachdb/cockroach/pull/137051
[#137115]: https://github.com/cockroachdb/cockroach/pull/137115
[#137117]: https://github.com/cockroachdb/cockroach/pull/137117
[#137353]: https://github.com/cockroachdb/cockroach/pull/137353
[#137366]: https://github.com/cockroachdb/cockroach/pull/137366
[#137376]: https://github.com/cockroachdb/cockroach/pull/137376
[#137462]: https://github.com/cockroachdb/cockroach/pull/137462
[#137528]: https://github.com/cockroachdb/cockroach/pull/137528
[#137675]: https://github.com/cockroachdb/cockroach/pull/137675
[#137687]: https://github.com/cockroachdb/cockroach/pull/137687
[#137706]: https://github.com/cockroachdb/cockroach/pull/137706
[#137725]: https://github.com/cockroachdb/cockroach/pull/137725
[#137919]: https://github.com/cockroachdb/cockroach/pull/137919
[#137941]: https://github.com/cockroachdb/cockroach/pull/137941
[10eab82e8]: https://github.com/cockroachdb/cockroach/commit/10eab82e8
[1433008fc]: https://github.com/cockroachdb/cockroach/commit/1433008fc
[3d88fefff]: https://github.com/cockroachdb/cockroach/commit/3d88fefff
[6867acb55]: https://github.com/cockroachdb/cockroach/commit/6867acb55
[738f32732]: https://github.com/cockroachdb/cockroach/commit/738f32732
[849cbad97]: https://github.com/cockroachdb/cockroach/commit/849cbad97
[8ac7ca4f3]: https://github.com/cockroachdb/cockroach/commit/8ac7ca4f3
[93078f72c]: https://github.com/cockroachdb/cockroach/commit/93078f72c
[b25f499aa]: https://github.com/cockroachdb/cockroach/commit/b25f499aa
[cd6e53cb7]: https://github.com/cockroachdb/cockroach/commit/cd6e53cb7
[db086f257]: https://github.com/cockroachdb/cockroach/commit/db086f257

0 comments on commit dd7fe41

Please sign in to comment.