Skip to content

Commit

Permalink
v22.2.18 release notes (#18275)
Browse files Browse the repository at this point in the history
  • Loading branch information
kathancox authored Feb 8, 2024
1 parent a1f4647 commit 3cefb06
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/current/_data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5406,3 +5406,30 @@
docker_arm_limited_access: false
source: true
previous_release: v23.2.0-rc.2

- release_name: v22.2.18
major_version: v22.2
release_date: '2024-02-08'
release_type: Production
go_version: go1.21
sha: 7c7aabc375626620cc7374eb6c155d251bc1f528
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: false
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: v22.2.17
22 changes: 22 additions & 0 deletions src/current/_includes/releases/v22.2/v22.2.18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## v22.2.18

Release Date: February 8, 2024

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

<h3 id="v22-2-18-bug-fixes">Bug fixes</h3>

- Fixed a bug that could cause [`DELETE`](https://www.cockroachlabs.com/docs/v22.2/delete.html) queries sent by the [row-level TTL job](https://www.cockroachlabs.com/docs/v22.2/row-level-ttl.html) to use a [secondary index](https://www.cockroachlabs.com/docs/v22.2/schema-design-indexes.html) rather than the [primary index](https://www.cockroachlabs.com/docs/v22.2/indexes.html) to find the rows to delete. This could lead to some `DELETE` operations taking longer than expected. This bug was present since v22.2.0. [#118420][#118420]
- Fixed a bug where a [changefeed](https://www.cockroachlabs.com/docs/v22.2/change-data-capture-overview.html) could omit events in rare cases, logging the error `cdc ux violation: detected timestamp ... that is less or equal to the local frontier`. This could happen in the following scenario:
1. A [rangefeed](https://www.cockroachlabs.com/docs/v22.2/create-and-configure-changefeeds.html#enable-rangefeeds) runs on a follower [replica](https://www.cockroachlabs.com/docs/v22.2/architecture/glossary#cockroachdb-architecture-terms) that lags significantly behind the [leaseholder](https://www.cockroachlabs.com/docs/v22.2/architecture/glossary#cockroachdb-architecture-terms).
1. A transaction commits and removes its transaction record before its [intent](https://www.cockroachlabs.com/docs/v22.2/architecture/transaction-layer#writing) resolution is applied on the follower.
1. The follower's [closed timestamp](https://www.cockroachlabs.com/docs/v22.2/architecture/transaction-layer#closed-timestamps) has advanced past the transaction commit timestamp.
1. The rangefeed attempts to push the transaction to a new timestamp (at least 10 seconds after the transaction began).
1. This may cause the rangefeed to prematurely emit a checkpoint before emitting writes at lower timestamps, which in turn may cause the [changefeed](https://www.cockroachlabs.com/docs/v22.2/change-data-capture-overview#how-does-an-enterprise-changefeed-work) to drop these events entirely, never emitting them. [#118633][#118633]

<h3 id="v22-2-18-contributors">Contributors</h3>

This release includes 7 merged PRs by 3 authors.

[#118420]: https://github.com/cockroachdb/cockroach/pull/118420
[#118633]: https://github.com/cockroachdb/cockroach/pull/118633

0 comments on commit 3cefb06

Please sign in to comment.