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

v23.1.15 release notes #18298

Merged
merged 5 commits into from
Feb 16, 2024
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: 35 additions & 1 deletion src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5433,7 +5433,7 @@
docker_arm_limited_access: false
source: true
previous_release: v22.2.17

- release_name: v23.2.1
major_version: v23.2
release_date: '2024-02-15'
Expand Down Expand Up @@ -5467,3 +5467,37 @@
CockroachDB Cloud clusters. To request to upgrade
a CockroachDB Self-Hosted cluster to this version,
[contact Support](https://support.cockroachlabs.com/hc/en-us/requests/new).

- release_name: v23.1.15
major_version: v23.1
release_date: '2024-02-16'
release_type: Production
go_version: go1.21
sha: 9ad399071aba1d361202f9ed6f64aae4f9351f4b
has_sql_only: true
has_sha256sum: true
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/en-us/requests/new).
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: v23.1.14
66 changes: 66 additions & 0 deletions src/current/_includes/releases/v23.1/v23.1.15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
## v23.1.15

Release Date: February 16, 2024

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

<h3 id="v23-1-15-bug-fixes">Bug fixes</h3>

- Fixed a bug where [changefeeds](https://www.cockroachlabs.com/docs/v23.1/change-data-capture-overview) that targeted schema-locked tables could fail due to an old high-water timestamp being incorrectly persisted. [#117960][#117960]
- Fixed a bug where creating a [changefeed](https://www.cockroachlabs.com/docs/v23.1/change-data-capture-overview) that targeted tables with a `DECIMAL(n)` column (that is, zero-scale [`DECIMAL`](https://www.cockroachlabs.com/docs/v23.1/decimal) column), `format='avro'`, and `diff` would cause a panic. [#118893][#118893]
- Fixed a bug that could cause a [`CREATE CHANGEFEED WITH {key_column}`](https://www.cockroachlabs.com/docs/v23.1/create-changefeed) statement to retry forever. [#116966][#116966]
- Fixed a bug that prevented database [restore](https://www.cockroachlabs.com/docs/v23.1/restore) when the database contained a view or routine that referenced a user-defined type in the body string. For views, this bug was introduced in v20.2 when UDTs were introduced. For routines, this bug was introduced in v22.2 when UDFs were introduced. [#116903][#116903]
- Fixed a durability issue in the Raft log storage mechanism due to improper synchronization of filesystem metadata, potentially leading to the loss of specific write operations (`AddSSTable`), notably utilized by operations such as `RESTORE`. This vulnerability was exposed only under conditions of power failure or operating system crashes, potentially causing CockroachDB to enter a crash loop upon restart. In extreme scenarios, such as a simultaneous power outage or crash across multiple nodes, it could result in an irrecoverable quorum loss. [#117383][#117383]
- Fixed an issue in Raft log truncation that had the potential to cause crash loops and irretrievable quorum loss, especially in the rare but severe scenario where all replicas concurrently enter a crash loop. This issue emerged under conditions where the cluster was processing a bulk write operation (such as schema changes, imports, or restores), while a log truncation command was active, and the CockroachDB process experienced a crash. [#117299][#117299]
- Fixed the total runtime value referenced in SQL stats, resolving the bug where the [Console](https://www.cockroachlabs.com/docs/v23.1/ui-overview) erroneously displayed percentages over 100%. [#117496][#117496]
- Fixed an issue where the values for the current and past hour in the top Activity table were calculated incorrectly, causing a missing data issue in SQL stats and, consequently, on the [SQL Activity](https://www.cockroachlabs.com/docs/v23.1/ui-overview#sql-activity) page. [#118427][#118427]
- Fixed a bug where CockroachDB would erroneously return an error if an empty search path parameter was encountered during search path setting. [#117556][#117556]
- Fixed a bug in the [Row-Level TTL](https://www.cockroachlabs.com/docs/v23.1/row-level-ttl) job that would cause it to skip expired rows if the primary key of the table included columns of the collated string type. This bug was present since the initial release of row-level TTL in v22.2.0. [#117513][#117513]
- Fixed a bug that could cause [`DELETE`](https://www.cockroachlabs.com/docs/v23.1/delete) queries sent by the [Row-Level TTL](https://www.cockroachlabs.com/docs/v23.1/row-level-ttl) job to use a secondary index rather than the primary index to find the rows to delete. This could lead to some `DELETE` operations taking a much longer time than they should. This bug was present since v22.2.0. [#118336][#118336]
- Fixed a bug where concurrent [`GRANT`](https://www.cockroachlabs.com/docs/v23.1/grant) statements can cause deadlocks. [#117712][#117712]
- Reduced the impact of bulk deletions ([`DROP TABLE`](https://www.cockroachlabs.com/docs/v23.1/drop-table), [`TRUNCATE`](https://www.cockroachlabs.com/docs/v23.1/truncate), or replica removals) on foreground traffic by altering storage engine compaction priorities. [#116560][#116560]
- Resolved an issue where DML operations would fail during the creation of a hash-sharded index, resulting in an error stating column `crdb_internal_val_shard_16` does not exist. This bug was present since v23.1.0. [#118238][#118238]
- [`AUTO CREATE STATS`](https://www.cockroachlabs.com/docs/v23.1/show-jobs#show-automatic-jobs) jobs no longer lead to growth in an internal system table resulting in slower job-system related queries. [#118980][#118980]
- [`ALTER PRIMARY KEY`](https://www.cockroachlabs.com/docs/v23.1/alter-table#alter-primary-key) no longer fail with an `non-nullable column <x> with no value! Index scanned ..` error when validating recreated secondary indexes. [#118969][#118969]
- Fixed a bug where CockroachDB could encounter an error `unable to encode table key: *tree.DTSQuery` when operating on columns of [`TSQuery`](https://www.cockroachlabs.com/docs/v23.1/tsquery) type in some contexts (e.g. when collecting table statistics or when performing a `DISTINCT` operation). The bug has been present since 23.1 when support for TSQuery type was added. [#118320][#118320]
- Fixed a bug where in some cases CockroachDB could incorrectly evaluate queries that scanned an inverted index and had a `WHERE` filter in which two sides of the `AND` expression had "similar" expressions (e.g. `ARRAY['str1'] <@ col AND (ARRAY['str1'] && col OR ...)`). The bug has been present since pre-22.2 version. [#118359][#118359]
- CockroachDB now correctly logs the top 5 hot ranges per cluster instead of per node. [#118371][#118371]

<div class="release-note-contributors" markdown="1">

<h3 id="v23-1-15-contributors">Contributors</h3>

This release includes 96 merged PRs by 39 authors.
We would like to thank the following contributors from the CockroachDB community:

- Nikolai Vladimirov (first-time contributor)

</div>

[#116560]: https://github.com/cockroachdb/cockroach/pull/116560
[#116903]: https://github.com/cockroachdb/cockroach/pull/116903
[#116966]: https://github.com/cockroachdb/cockroach/pull/116966
[#117299]: https://github.com/cockroachdb/cockroach/pull/117299
[#117383]: https://github.com/cockroachdb/cockroach/pull/117383
[#117496]: https://github.com/cockroachdb/cockroach/pull/117496
[#117513]: https://github.com/cockroachdb/cockroach/pull/117513
[#117556]: https://github.com/cockroachdb/cockroach/pull/117556
[#117712]: https://github.com/cockroachdb/cockroach/pull/117712
[#117742]: https://github.com/cockroachdb/cockroach/pull/117742
[#117960]: https://github.com/cockroachdb/cockroach/pull/117960
[#118141]: https://github.com/cockroachdb/cockroach/pull/118141
[#118238]: https://github.com/cockroachdb/cockroach/pull/118238
[#118320]: https://github.com/cockroachdb/cockroach/pull/118320
[#118336]: https://github.com/cockroachdb/cockroach/pull/118336
[#118359]: https://github.com/cockroachdb/cockroach/pull/118359
[#118371]: https://github.com/cockroachdb/cockroach/pull/118371
[#118427]: https://github.com/cockroachdb/cockroach/pull/118427
[#118564]: https://github.com/cockroachdb/cockroach/pull/118564
[#118590]: https://github.com/cockroachdb/cockroach/pull/118590
[#118893]: https://github.com/cockroachdb/cockroach/pull/118893
[#118919]: https://github.com/cockroachdb/cockroach/pull/118919
[#118969]: https://github.com/cockroachdb/cockroach/pull/118969
[#118980]: https://github.com/cockroachdb/cockroach/pull/118980
[566a30300]: https://github.com/cockroachdb/cockroach/commit/566a30300
[7667710a0]: https://github.com/cockroachdb/cockroach/commit/7667710a0
[ce971160e]: https://github.com/cockroachdb/cockroach/commit/ce971160e
Loading