-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v24.2.8 release notes (cloud) (#19280)
- Loading branch information
Showing
2 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |