Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v24.2.8 release notes (cloud) #19280

Merged
merged 4 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7761,6 +7761,7 @@
source: true
previous_release: v25.1.0-alpha.1


- release_name: v24.1.10
major_version: v24.1
release_date: '2025-01-09'
Expand Down Expand Up @@ -7794,3 +7795,38 @@
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.2.8
major_version: v24.2
release_date: '2025-01-09'
release_type: Production
go_version: go1.22.8
sha: 900a2cc120ab6bccd235e76e08ee3c070b8ccdc3
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.2.7
cloud_only: true
cloud_only_message_short: 'Available only for select CockroachDB Cloud clusters'
cloud_only_message: >
This version is currently available only for select
CockroachDB Cloud clusters. To request to upgrade
a CockroachDB self-hosted cluster to this version,
[contact support](https://support.cockroachlabs.com/hc/requests/new).
84 changes: 84 additions & 0 deletions src/current/_includes/releases/v24.2/v24.2.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
## v24.2.8

Release Date: January 9, 2025

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

<h3 id="v24-2-8-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` [#136603][#136603]
- Added support for multiple seed brokers in the new Kafka sink. [#136748][#136748]
- 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. [#136835][#136835]
- Added changefeed support for the `mvcc_timestamp` option with the `avro` format. If both options are specified, the Avro schema includes an `mvcc_timestamp` metadata field and emits the row's MVCC timestamp with the row data. [#136016][#136016]
- Added a no-op `AWS_USE_PATH_STYLE` parameter for forward compatibility with v24.3. [#137025][#137025]

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

- 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`. [#137920][#137920]

<h3 id="v24-2-8-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. [#136161][#136161]
- Telemetry delivery is now considered successful even in cases where we experience a network timeout. This will prevent throttling in cases outside an operator's control. [#136479][#136479]
- 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. [#136928][#136928]
- Added a new configurable parameter `kv.transaction.max_intents_and_locks` that will prevent transactions from creating too many intents. [#137700][#137700]
- 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. [#137700][#137700]
- Added the metric `txn.count_limit_on_response`, which tracks the number of KV transactions that have exceeded the count limit on a response. [#137700][#137700]

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

- `ALTER COLUMN SET NOT NULL` was not enforced consistently when the table was created in the same transaction. [#136365][#136365]
- Fixed a bug where `CREATE RELATION / TYPE` could leave dangling namespace entries if the schema was concurrently being dropped. [#136379][#136379]
- 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. [#136502][#136502]
- Fixed a bug that causes the optimizer to use stale table statistics after altering an `ENUM` type used in the table. [#136759][#136759]
- 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. [#136165][#136165]
- CockroachDB now better respects the `statement_timeout` limit on queries involving the top K sort and merge join operations. [#136652][#136652]
- 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. [#137011][#137011]
- Fixed a bug that caused queries against tables with user-defined types to sometimes fail with errors after restoring those tables. [#137354][#137354]
- Fixed a bug that caused an incorrect filesystem to be logged as part of the store information. [#137113][#137113]
- Fixed a bug that has existed since v24.1 that would cause a set-returning UDF with `OUT` parameters to return a single row. [#137377][#137377]
- Fixed a bug that could cause an internal error if a table with an implicit (`rowid`) primary key was locked from within a subquery, like: `SELECT * FROM (SELECT * FROM foo WHERE x = 2) FOR UPDATE;`. The error could occur either under read-committed isolation, or with `optimizer_use_lock_op_for_serializable` enabled. [#137129][#137129]
- 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. [#137676][#137676]
- Fixed a bug related to displaying the names of composite types in the `SHOW CREATE TABLES` command. The names are now shown as two-part names, which disambiguates the output and makes it more portable to other databases. [#137768][#137768]
- Fixed 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 ...`. [#137705][#137705]
- 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. [#137724][#137724]

<h3 id="v24-2-8-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. [#136161][#136161]


[#136016]: https://github.com/cockroachdb/cockroach/pull/136016
[#136161]: https://github.com/cockroachdb/cockroach/pull/136161
[#136165]: https://github.com/cockroachdb/cockroach/pull/136165
[#136365]: https://github.com/cockroachdb/cockroach/pull/136365
[#136379]: https://github.com/cockroachdb/cockroach/pull/136379
[#136471]: https://github.com/cockroachdb/cockroach/pull/136471
[#136479]: https://github.com/cockroachdb/cockroach/pull/136479
[#136502]: https://github.com/cockroachdb/cockroach/pull/136502
[#136603]: https://github.com/cockroachdb/cockroach/pull/136603
[#136652]: https://github.com/cockroachdb/cockroach/pull/136652
[#136681]: https://github.com/cockroachdb/cockroach/pull/136681
[#136748]: https://github.com/cockroachdb/cockroach/pull/136748
[#136759]: https://github.com/cockroachdb/cockroach/pull/136759
[#136835]: https://github.com/cockroachdb/cockroach/pull/136835
[#136928]: https://github.com/cockroachdb/cockroach/pull/136928
[#137011]: https://github.com/cockroachdb/cockroach/pull/137011
[#137025]: https://github.com/cockroachdb/cockroach/pull/137025
[#137113]: https://github.com/cockroachdb/cockroach/pull/137113
[#137116]: https://github.com/cockroachdb/cockroach/pull/137116
[#137129]: https://github.com/cockroachdb/cockroach/pull/137129
[#137354]: https://github.com/cockroachdb/cockroach/pull/137354
[#137377]: https://github.com/cockroachdb/cockroach/pull/137377
[#137461]: https://github.com/cockroachdb/cockroach/pull/137461
[#137676]: https://github.com/cockroachdb/cockroach/pull/137676
[#137700]: https://github.com/cockroachdb/cockroach/pull/137700
[#137705]: https://github.com/cockroachdb/cockroach/pull/137705
[#137724]: https://github.com/cockroachdb/cockroach/pull/137724
[#137768]: https://github.com/cockroachdb/cockroach/pull/137768
[#137920]: https://github.com/cockroachdb/cockroach/pull/137920
Loading