Skip to content

Commit

Permalink
Merge pull request #18222 from cockroachdb/v23.1.14-release-notes
Browse files Browse the repository at this point in the history
Release notes for v23.1.14
  • Loading branch information
Amruta-Ranade authored Jan 17, 2024
2 parents 5c3e02b + 1407ebc commit f822d45
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5352,3 +5352,36 @@
docker_arm_limited_access: true
source: true
previous_release: v23.2.0-rc.1

- release_name: v23.1.14
major_version: v23.1
release_date: '2024-01-17'
release_type: Production
go_version: go1.21
sha: b95f2225b09cf25f9f2be31ef6a6f65c73a1b081
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
cloud_only: true
cloud_only_message_short: 'Available only for CockroachDB Cloud clusters'
cloud_only_message: >
This version is currently available only for 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).
source: true
previous_release: v23.1.13
96 changes: 96 additions & 0 deletions src/current/_includes/releases/v23.1/v23.1.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
## v23.1.14

Release Date: January 17, 2024

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

<h3 id="v23-1-14-sql-language-changes">SQL language changes</h3>

- CockroachDB now supports [importing into](https://www.cockroachlabs.com/docs/v23.1/import-into) a table that has columns typed as arrays of user-defined types (such as enums). Tables that use multiple user-defined types with the same name but different schemas are still unsupported. [#116361][#116361]
- Added a new field, `StmtPosInTxn`, to the `CommonSQLExecDetails` (included in SQL audit logs, SQL execution logs, and telemetry events) to represent the statement's index (position) in the transaction. The first statement's `StmtPosInTxn` is `1`. [#116558][#116558]

<h3 id="v23-1-14-operational-changes">Operational changes</h3>

- Updated the [`changefeed.lagging_ranges_threshold`](https://www.cockroachlabs.com/docs/v23.1/cluster-settings#settings) and [`changefeed.lagging_ranges_polling_interval`](https://www.cockroachlabs.com/docs/v23.1/cluster-settings#settings) cluster settings to be public in v23.1. [#115803][#115803]

<h3 id="v23-1-14-db-console-changes">DB Console changes</h3>

- The [**Cluster Overview** page](https://www.cockroachlabs.com/docs/v23.1/ui-cluster-overview-page) now correctly renders the background color for email signups, fixing an issue where it was difficult to read the text. [#114546][#114546]
- Updated the **CPU Time** label to **SQL CPU Time** on the [Overview page](https://www.cockroachlabs.com/docs/v23.1/ui-overview-dashboard) and clarified the tooltip. [#116448][#116448]
- Fixed an issue where the following `AggHistogram`-powered metrics reported quantiles incorrectly in the [Overview page](https://www.cockroachlabs.com/docs/v23.1/ui-overview-dashboard). The list of affected metrics is:
- `changefeed.message_size_hist`
- `changefeed.parallel_io_queue_nanos`
- `changefeed.sink_batch_hist_nanos`
- `changefeed.flush_hist_nanos`
- `changefeed.commit_latency`
- `changefeed.admit_latency`
- `jobs.row_level_ttl.span_total_duration`
- `jobs.row_level_ttl.select_duration`
- `jobs.row_level_ttl.delete_duration`

This bug affected only DB Console dashboards and not the Prometheus-compatible endpoint `/_status/vars`. [#114747][#114747]
- In the **SQL Activity Transaction Details** page, you can now view a transaction fingerprint ID across multiple applications by passing a comma-separated encoded string of transaction fingerprint IDs in the `appNames` URL search parameter. [#116102][#116102]

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

- Fixed a bug in in the TimeScale component's **Now** button behavior that could prevent charts from updating after a custom time range was selected.[#115513][#115513]
- Fixed a bug where an active replication report update could get stuck in a retry loop on clusters with over 10000 ranges, which would prevent a node from shutting down cleanly. [#114242][#114242]
- Fixed a nil pointer dereference bug in the error handling for `GetFiles`. [#114829][#114829]
- Fixed a bug that prevented the **SQL Activity** page from showing internal statements when the `sql.stats.response.show_internal.enabled` [cluster setting](https://www.cockroachlabs.com/docs/v23.1/cluster-settings) was set to `true`. [#114819][#114819]
- Fixed a bug that could cause a discrepancy between computed statistics and the stored value for statics when a delete was rolled back. [#113772][#113772]
- Fixed a bug introduced in v23.1 that could cause an internal error Previously, CockroachDB could encounter an internal error when using a prepared statement using the `text` format with a user-defined composite type. [#115063][#115063]
- Fixed a bug that would cause a [prepared statement](https://www.cockroachlabs.com/docs/v23.1/sql-grammar#prepare_stmt) to fail if it references an enum as well as a table that has undergone a schema change. [#115174][#115174]
- Fixed a bug that could cause finalization during a major-version upgrade to contend with descriptor lease renewals on a large cluster. Descriptor lease renewals now always have a lower priority than finalization. [#114672][#114672]
- [Backups](https://www.cockroachlabs.com/docs/v23.1/backup) now evenly distribute their work across all replicas, including followers, regardless of leaseholder placement. [#115018][#115018]
- Fixed a bug that could cause replica processing in store queues to get stuck if a the replica's ID has changed. [#115036][#115036]
- Fixed an bug introduced in v22.2 that could lead to stuck queries or inaccurate results when using lookup [joins](https://www.cockroachlabs.com/docs/v23.1/joins) involving equality columns and multiple ranges. [#115581][#115581]
- Fixed a bug in the declarative schema changer that could cause [`CREATE INDEX`](https://www.cockroachlabs.com/docs/v23.1/create-index) with expressions to fail on materialized [views](https://www.cockroachlabs.com/docs/v23.1/views). [#115596][#115596]
- Fixed a bug that could cause an inaccorate "too few columns" error for a query that used `ANY {array}` syntax with a subquery. [#115591][#115591]
- Fixed a bug that could cause a "too few/many columns" errors for a query that used an `IN` or `NOT IN` clause with a non-trivial right operand, such as a subquery (rather than a constant tuple). [#115591][#115591]
- Fixed a bug introduced in v22.2 that could cause errors or inaccurate results when performing a lookup or index [join](https://www.cockroachlabs.com/docs/v23.1/joins) on a table with three or more column families. [#115899][#115899]
- Fixed a bug that could cause an internal error or a panic while attempting to forecast statistics on a numeric column. [#115899][#115899]
- Fixed a bug when issuing a [`BEGIN`](https://www.cockroachlabs.com/docs/v23.1/begin-transaction) statement where incorrect `Age` field could be logged in the statement log. This bug could also cause statements to incorrectly appear in the slow query log. [#115257][#115257]
- Fixed a bug in the SQL Statistics UI where the runtime was incorrectly calculated. This bug could cause recorded values to appear to exceed 100%. [#117497][#117497]
- Fixed a bug that could cause a `CREATE CHANGEFEED WITH {key_column}` statement to retry forever. [#117555][#117555]

<h3 id="v23-1-14-performance-improvements">Performance improvements</h3>

- Reduced query planning time significantly for some queries that join multiple tables. [#114512][#114512][#116107][#116107]

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

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

This release includes 128 merged PRs by 42 authors.

</div>

[#113772]: https://github.com/cockroachdb/cockroach/pull/113772
[#114242]: https://github.com/cockroachdb/cockroach/pull/114242
[#114512]: https://github.com/cockroachdb/cockroach/pull/114512
[#114546]: https://github.com/cockroachdb/cockroach/pull/114546
[#114672]: https://github.com/cockroachdb/cockroach/pull/114672
[#114747]: https://github.com/cockroachdb/cockroach/pull/114747
[#114819]: https://github.com/cockroachdb/cockroach/pull/114819
[#114829]: https://github.com/cockroachdb/cockroach/pull/114829
[#115018]: https://github.com/cockroachdb/cockroach/pull/115018
[#115036]: https://github.com/cockroachdb/cockroach/pull/115036
[#115063]: https://github.com/cockroachdb/cockroach/pull/115063
[#115174]: https://github.com/cockroachdb/cockroach/pull/115174
[#115257]: https://github.com/cockroachdb/cockroach/pull/115257
[#115513]: https://github.com/cockroachdb/cockroach/pull/115513
[#115581]: https://github.com/cockroachdb/cockroach/pull/115581
[#115591]: https://github.com/cockroachdb/cockroach/pull/115591
[#115596]: https://github.com/cockroachdb/cockroach/pull/115596
[#115603]: https://github.com/cockroachdb/cockroach/pull/115603
[#115803]: https://github.com/cockroachdb/cockroach/pull/115803
[#115899]: https://github.com/cockroachdb/cockroach/pull/115899
[#116102]: https://github.com/cockroachdb/cockroach/pull/116102
[#116107]: https://github.com/cockroachdb/cockroach/pull/116107
[#116361]: https://github.com/cockroachdb/cockroach/pull/116361
[#116448]: https://github.com/cockroachdb/cockroach/pull/116448
[#116517]: https://github.com/cockroachdb/cockroach/pull/116517
[#116558]: https://github.com/cockroachdb/cockroach/pull/116558
[#117497]: https://github.com/cockroachdb/cockroach/pull/117497
[#117555]: https://github.com/cockroachdb/cockroach/pull/117555
[d27790ece]: https://github.com/cockroachdb/cockroach/commit/d27790ece

0 comments on commit f822d45

Please sign in to comment.