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

releases: add tidb 5.4.2 release notes #9379

Merged
merged 57 commits into from
Jul 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
0ec720c
merge from upstream master
ti-srebot Jul 31, 2021
75641ac
merge from upstream master
ti-srebot Sep 10, 2021
afec2bc
merge from upstream master
ti-srebot Sep 14, 2021
618b2b0
merge from upstream master
ti-srebot Sep 14, 2021
158f9de
merge from upstream master
ti-srebot Sep 18, 2021
66689a1
merge from upstream master
ti-srebot Oct 20, 2021
5cf1da6
merge from upstream master
ti-srebot Dec 3, 2021
33757bc
merge from upstream master
ti-srebot Dec 6, 2021
6569e80
merge from upstream master
ti-srebot Dec 21, 2021
0453d06
merge from upstream master
ti-srebot Feb 11, 2022
12747ee
merge from upstream master
ti-srebot Feb 24, 2022
6dc6e40
merge from upstream master
ti-srebot Feb 28, 2022
3f544c6
merge from upstream master
ti-srebot Apr 18, 2022
b808e1d
merge from upstream master
ti-srebot Apr 21, 2022
87cce74
merge from upstream master
ti-srebot Apr 29, 2022
2ad81fc
merge from upstream master
ti-srebot Jun 20, 2022
45e03ec
releases: add TiDB 5.4.2-20-58-01 release notes
ti-srebot Jun 27, 2022
9f85d1d
update rn
ran-huang Jun 27, 2022
b051cbf
Merge remote-tracking branch 'upstream/master' into update-5.4.2-20-5…
ran-huang Jun 27, 2022
09fc170
change pr to issue; get duplicated notes
ran-huang Jun 27, 2022
1fb7ccf
adjust domain
ran-huang Jun 27, 2022
357b8fe
Apply suggestions from code review
Connor1996 Jun 28, 2022
5cccdff
Update releases/release-5.4.2.md
zanmato1984 Jun 28, 2022
702885a
Update releases/release-5.4.2.md
zanmato1984 Jun 28, 2022
796e472
add transaction notes
ran-huang Jun 28, 2022
a654d26
Apply suggestions from code review
ran-huang Jun 28, 2022
0c0be5f
sort tikv notes
ran-huang Jun 28, 2022
ea0c9dc
Merge branch 'update-5.4.2-20-58-01' of https://github.com/ti-srebot/…
ran-huang Jun 28, 2022
72e1832
sort pd notes
ran-huang Jun 28, 2022
ce074e4
mark duplicated notes
ran-huang Jun 28, 2022
40156fe
add sql-infra notes
ran-huang Jun 29, 2022
ddc1381
Merge branch 'master' into update-5.4.2-20-58-01
ran-huang Jun 29, 2022
e2229ce
Update releases/release-5.4.2.md
ran-huang Jun 30, 2022
2682987
update
ran-huang Jul 1, 2022
4236675
update some cdc items
hicqu Jul 1, 2022
3d2fc32
Apply suggestions from code review
ran-huang Jul 4, 2022
bd55f8b
move planner notes
ran-huang Jul 4, 2022
b088cef
more changes for data platform
hicqu Jul 4, 2022
c9740d1
Apply suggestions from code review
ran-huang Jul 4, 2022
8a96ddb
add dp notes
ran-huang Jul 4, 2022
eab38fb
resolve conflict
ran-huang Jul 4, 2022
9b66283
add 1 cdc note
ran-huang Jul 4, 2022
5a3f774
process planner, transaction, sql-infra part
TomShawn Jul 6, 2022
ec413f0
tiflash and br parts
shichun-0415 Jul 6, 2022
681a38d
update release 5.4.2
Oreoxmt Jul 7, 2022
e41f601
fix br abbreviation
shichun-0415 Jul 7, 2022
0fa95a3
Update releases/release-5.4.2.md
TomShawn Jul 7, 2022
1def74c
Apply suggestions from code review
ran-huang Jul 7, 2022
2d608a0
Apply suggestions from code review
Oreoxmt Jul 7, 2022
c7419e5
cleanup
ran-huang Jul 7, 2022
d16f1de
Apply suggestions from code review
ran-huang Jul 7, 2022
2370a79
Update releases/release-5.4.2.md
ran-huang Jul 8, 2022
37791e5
fix duplicated notes
ran-huang Jul 8, 2022
79b4cab
use the same note as v5.3.2
ran-huang Jul 8, 2022
cf15529
cleanup format
ran-huang Jul 8, 2022
700e48d
fix lint
ran-huang Jul 8, 2022
ca35a73
Update releases/release-5.4.2.md
ran-huang Jul 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@
- v6.0
- [6.0.0-DMR](/releases/release-6.0.0-dmr.md)
- v5.4
- [5.4.2](/releases/release-5.4.2.md)
- [5.4.1](/releases/release-5.4.1.md)
- [5.4.0](/releases/release-5.4.0.md)
- v5.3
Expand Down
102 changes: 102 additions & 0 deletions releases/release-5.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
title: TiDB 5.4.2 Release Notes
---

# TiDB 5.4.2 Release Notes

Release Date: July 8, 2022

TiDB version: 5.4.2

## Improvements

+ TiDB

- Avoid sending requests to unhealthy TiKV nodes to improve availability [#34906](https://github.com/pingcap/tidb/issues/34906)

+ TiKV

- Reload TLS certificate automatically for each update to improve availability [#12546](https://github.com/tikv/tikv/issues/12546)
- Improve the health check to detect unavailable Raftstore, so that the TiKV client can update Region Cache in time [#12398](https://github.com/tikv/tikv/issues/12398)
- Transfer the leadership to CDC observer to reduce latency jitter [#12111](https://github.com/tikv/tikv/issues/12111)

+ PD
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

- Disable compiling swagger server by default [#4932](https://github.com/tikv/pd/issues/4932)

+ Tools

+ TiDB Lightning

- Optimize Scatter Region to batch mode to improve the stability of the Scatter Region process [#33618](https://github.com/pingcap/tidb/issues/33618)

## Bug Fixes

+ TiDB

- Fix the issue of wrong TableDual plans cached in binary protocol [#34690](https://github.com/pingcap/tidb/issues/34690) [#34678](https://github.com/pingcap/tidb/issues/34678)
- Fix the issue of incorrectly inferred null flag of the TiFlash `firstrow` aggregate function in the EqualAll case [#34584](https://github.com/pingcap/tidb/issues/34584)
- Fix the issue that the planner generates wrong 2-phase aggregate plan for TiFlash [#34682](https://github.com/pingcap/tidb/issues/34682)
- Fix the planner wrong behaviors that occur when `tidb_opt_agg_push_down` and `tidb_enforce_mpp` are enabled [#34465](https://github.com/pingcap/tidb/issues/34465)
- Fix the wrong memory-usage value used when Plan Cache is evicted [#34613](https://github.com/pingcap/tidb/issues/34613)
- Fix the issue that the column list does not work in the `LOAD DATA` statement [#35198](https://github.com/pingcap/tidb/issues/35198)
- Avoid reporting `WriteConflict` errors in pessimistic transactions [#11612](https://github.com/tikv/tikv/issues/11612)
- Fix the issue that the prewrite requests are not idempotency when Region errors and network issues occur [#34875](https://github.com/pingcap/tidb/issues/34875)
- Fix the issue that the async commit transactions being rolled back might not meet atomicity [#33641](https://github.com/pingcap/tidb/issues/33641)
- Previously, when a network connectivity issue occurred, TiDB did not always correctly free the resources held by the disconnected session. This issue has been fixed so that open transactions can be rolled back and other associated resources can be released. [#34722](https://github.com/pingcap/tidb/issues/34722)
- Fix the issue that the `references invalid table` error might be incorrectly reported when TiDB queries views with CTE [#33965](https://github.com/pingcap/tidb/issues/33965)
- Fix the panic issue caused by the `fatal error: concurrent map read and map write` error [#35340](https://github.com/pingcap/tidb/issues/35340)

+ TiKV

- Fix the panic issue caused by analyzing statistics when `max_sample_size` is set to `0` [#11192](https://github.com/tikv/tikv/issues/11192)
- Fix the potential issue of mistakenly reporting TiKV panics when exiting TiKV [#12231](https://github.com/tikv/tikv/issues/12231)
- Fix the panic issue that might occur when the source peer catches up logs by snapshot in the Region merge process [#12663](https://github.com/tikv/tikv/issues/12663)
- Fix the panic issue that might occur when a peer is being split and destroyed at the same time [#12825](https://github.com/tikv/tikv/issues/12825)
- Fix the issue of frequent PD client reconnection that occurs when the PD client meets an error [#12345](https://github.com/tikv/tikv/issues/12345)
- Fix the issue of time parsing error that occurs when the `DATETIME` values contain a fraction and `Z` [#12739](https://github.com/tikv/tikv/issues/12739)
- Fix the issue that TiKV panics when performing type conversion for an empty string [#12673](https://github.com/tikv/tikv/issues/12673)
- Fix the possible duplicate commit records in pessimistic transactions when async commit is enabled [#12615](https://github.com/tikv/tikv/issues/12615)
- Fix the issue that TiKV reports the `invalid store ID 0` error when using Follower Read [#12478](https://github.com/tikv/tikv/issues/12478)
- Fix the issue of TiKV panic caused by the race between destroying peers and batch splitting Regions [#12368](https://github.com/tikv/tikv/issues/12368)
- Fix the issue that tikv-ctl returns an incorrect result due to its wrong string match [#12329](https://github.com/tikv/tikv/issues/12329)
- Fix the issue of failing to start TiKV on AUFS [#12543](https://github.com/tikv/tikv/issues/12543)

+ PD

- Fix the wrong status code of `not leader` [#4797](https://github.com/tikv/pd/issues/4797)
- Fix the PD panic that occurs when a hot region has no leader [#5005](https://github.com/tikv/pd/issues/5005)
- Fix the issue that scheduling cannot start immediately after the PD leader transfer [#4769](https://github.com/tikv/pd/issues/4769)
- Fix a bug of TSO fallback in some corner cases [#4884](https://github.com/tikv/pd/issues/4884)

+ TiFlash

- Fix the issue that TiFlash crashes after dropping a column of a table with clustered indexes in some situations [#5154](https://github.com/pingcap/tiflash/issues/5154)
- Fix potential data inconsistency after a lot of INSERT and DELETE operations [#4956](https://github.com/pingcap/tiflash/issues/4956)
- Fix wrong decimal comparison results in corner cases [#4512](https://github.com/pingcap/tiflash/issues/4512)

+ Tools

+ Backup & Restore (BR)

- Fix a bug that BR reports `ErrRestoreTableIDMismatch` in RawKV mode [#35279](https://github.com/pingcap/tidb/issues/35279)
- Fix a bug that BR does not retry when an error occurs in saving files [#34865](https://github.com/pingcap/tidb/issues/34865)
- Fix a panic issue when BR is running [#34956](https://github.com/pingcap/tidb/issues/34956)
- Fix the issue that BR cannot handle S3 internal errors [#34350](https://github.com/pingcap/tidb/issues/34350)
- Fix a bug that BR gets stuck when the restore operation meets some unrecoverable errors [#33200](https://github.com/pingcap/tidb/issues/33200)

+ TiCDC

- Fix data loss that occurs in special incremental scanning scenarios [#5468](https://github.com/pingcap/tiflow/issues/5468)
- Fix a bug that the redo log manager flushes logs before writing logs [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Fix a bug that the resolved ts moves too fast when some tables are not maintained by the redo writer [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Fix the issue that file name conflicts may cause data loss [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Fix replication interruption that occurs when Region leader is missing and the retry exceeds the limit [#5230](https://github.com/pingcap/tiflow/issues/5230)
- Fix the bug that MySQL Sink may save a wrong checkpointTs [#5107](https://github.com/pingcap/tiflow/issues/5107)
- Fix a bug that may cause goroutine leak in the HTTP server [#5303](https://github.com/pingcap/tiflow/issues/5303)
- Fix the issue that changes in meta Region can lead to latency increase [#4756](https://github.com/pingcap/tiflow/issues/4756) [#4762](https://github.com/pingcap/tiflow/issues/4762)

+ TiDB Data Migration (DM)

- Fix the issue that DM occupies more disk space after a task automatically resumes [#5344](https://github.com/pingcap/tiflow/issues/5344)
- Fix the issue that the uppercase table cannot be replicated when `case-sensitive: true` is not set [#5255](https://github.com/pingcap/tiflow/issues/5255)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/']

## 5.4

- [5.4.2](/releases/release-5.4.2.md)
- [5.4.1](/releases/release-5.4.1.md)
- [5.4.0](/releases/release-5.4.0.md)

Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde

| Version | Release Date |
| :--- | :--- |
| [5.4.2](/releases/release-5.4.2.md) | 2022-07-08 |
| [5.3.2](/releases/release-5.3.2.md) | 2022-06-29 |
| [6.1.0](/releases/release-6.1.0.md) | 2022-06-13 |
| [5.4.1](/releases/release-5.4.1.md) | 2022-05-13 |
Expand Down