-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 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,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 |