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 30 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 @@ -855,6 +855,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
118 changes: 118 additions & 0 deletions releases/release-5.4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
---
title: TiDB 5.4.2 Release Notes
---

# TiDB 5.4.2 Release Notes

Release Date: xx xx, 2022

TiDB version: 5.4.2

## __unsorted

+ PingCAP/TiDB

<!--diagnosis-->
- ```release-note [#35340](https://github.com/pingcap/tidb/issues/35340)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

<!--sql-infra-->
- ```release-note [#34722](https://github.com/pingcap/tidb/issues/34722)
- ```release-note [#34638](https://github.com/pingcap/tidb/pull/34638)
- ```release-note [#33965](https://github.com/pingcap/tidb/issues/33965)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

<!--planner-->
- ```release-note [#34613](https://github.com/pingcap/tidb/issues/34613)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

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

- ```release-note [#35279](https://github.com/pingcap/tidb/issues/35279)
- ```release-note [#34865](https://github.com/pingcap/tidb/issues/34865)
- ```release-note [#34956](https://github.com/pingcap/tidb/issues/34956)
- ```release-note [#34350](https://github.com/pingcap/tidb/issues/34350)
(dup: release-6.0.0-dmr.md > Bug fixes> Tools> Backup & Restore (BR))- Fix a bug that BR gets stuck when the restore operation meets some unrecoverable errors [#33200](https://github.com/pingcap/tidb/issues/33200)

+ TiDB Lightning

(dup: release-6.1.0.md > Improvements> 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)

+ PingCAP/TiCDC
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

(dup: release-6.1.0.md > Bug fixes> Tools> TiCDC)- Fix data loss that occurs in special incremental scanning scenarios [#5468](https://github.com/pingcap/tiflow/issues/5468)
- Fix a bug in redo log manager that flush log executed before writing logs [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Fix a bug that resolved ts moves too fast when part of tables are not maintained redo writer. [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Add uuid suffix to redo log file name to prevent name conflict, which may cause data loss. [#5486](https://github.com/pingcap/tiflow/issues/5486)
- Fix replication interruption due to leader missing by extending region retry duration
- Fix min resolved ts/checkpoint table ID metrics [#5542](https://github.com/pingcap/tiflow/pull/5542)
- `Fix a bug that mysql sink may save a wrong checkpointTs`. [#5107](https://github.com/pingcap/tiflow/issues/5107)
- Fix a bug that may causes goroutine leak in http server. [#5303](https://github.com/pingcap/tiflow/issues/5303)
- `None` [#2792](https://github.com/pingcap/tiflow/issues/2792)

+ TiDB Data Migration (DM)

(dup: release-6.1.0.md > Bug fixes> Tools> TiDB Data Migration (DM))- Fix the issue that DM occupies more disk space after the task automatically resumes [#3734](https://github.com/pingcap/tiflow/issues/3734) [#5344](https://github.com/pingcap/tiflow/issues/5344)
(dup: release-6.1.0.md > Bug fixes> Tools> TiDB Data Migration (DM))- Fix an issue that the uppercase table cannot be replicated when `case-sensitive: true` is not set [#5255](https://github.com/pingcap/tiflow/issues/5255)
- `None`. [#4858](https://github.com/pingcap/tiflow/issues/4858)

## Compatibility change(s)

## Improvements
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB

<!--transaction-->
- Improve the recovery time if the tikv hibernate region is enabled [#34906](https://github.com/pingcap/tidb/issues/34906)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

- Reload TLS certificate automatically when it changes. [#12546](https://github.com/tikv/tikv/issues/12546)
(dup: release-6.1.0.md > Improvements> TiKV)- 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)
- Use `posix_fallocate` for space reservation. [#12543](https://github.com/tikv/tikv/issues/12543)
(dup: release-5.2.4.md > Improvements> TiKV)- Transfer the leadership to CDC observer to reduce latency jitter [#12111](https://github.com/tikv/tikv/issues/12111)

+ PD

(dup: release-6.1.0.md > Improvements> PD)- Disable compiling swagger server by default [#4932](https://github.com/tikv/pd/issues/4932)

## Bug Fixes

+ TiDB

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
<!--planner-->
- ```release-note [#34678](https://github.com/pingcap/tidb/issues/34678)

<!--transaction-->
- Fix the issue that the column list does not work in the load data statement [#35198](https://github.com/pingcap/tidb/issues/35198)

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-5.4.1.md > Bug Fixes> TiDB)- Fix the error that occurs when reading from the `INFORMATION_SCHEMA.ATTRIBUTES` table by skipping the unidentifiable table attributes [#33665](https://github.com/pingcap/tidb/issues/33665)

+ TiKV

- Fix the issue of unexpected `panic` on analyzed statistics when `max_sample_size` is set to `0`. [#11192](https://github.com/tikv/tikv/issues/11192)
(dup: release-6.0.0-dmr.md > Bug fixes> TiKV)- Fix the potential issue of mistakenly reporting TiKV panics when exiting TiKV [#12231](https://github.com/tikv/tikv/issues/12231)
- Fix possible panic when source peer catch up logs by snapshot in merge [#12663](https://github.com/tikv/tikv/issues/12663)
- Fix potential panic when a peer is being split and destroyed at the same time [#12825](https://github.com/tikv/tikv/issues/12825)
- Fix bug which causes frequent pd client reconnection [#12345](https://github.com/tikv/tikv/issues/12345)
- Fix a wrong check in datetime when the datetime has a fraction and 'Z' [#12739](https://github.com/tikv/tikv/issues/12739)
- Fix tikv crash when conv empty string [#12673](https://github.com/tikv/tikv/issues/12673)
- Fix possible duplicate commit record in async-commit pessimistic transactions. [#12615](https://github.com/tikv/tikv/issues/12615)
(dup: release-6.1.0.md > Bug fixes> TiKV)- Fix the issue that TiKV reports the `invalid store ID 0` error when using Follower Read [#12478](https://github.com/tikv/tikv/issues/12478)
(dup: release-6.1.0.md > Bug fixes> TiKV)- 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)
(dup: release-5.2.4.md > Bug fixes> TiKV)- Fix the issue that tikv-ctl returns an incorrect result due to its wrong string match [#12329](https://github.com/tikv/tikv/issues/12329)

+ PD

(dup: release-6.1.0.md > Bug fixes> PD)- Fix the wrong status code of `not leader` [#4797](https://github.com/tikv/pd/issues/4797)
- Fix the issue that the hot region may cause panic due to no leader [#5005](https://github.com/tikv/pd/issues/5005)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.1.0.md > Bug fixes> PD)- Fix the issue that scheduling cannot start immediately after the PD leader transfer [#4769](https://github.com/tikv/pd/issues/4769)
(dup: release-6.1.0.md > Bug fixes> PD)- Fix a bug of TSO fallback in some corner cases [#4884](https://github.com/tikv/pd/issues/4884)

+ TiFlash

<!--storage-->
- Fix the TiFlash crash issue that occurs after dropping a column of a table with clustered indexes under some situations. [#5154](https://github.com/pingcap/tiflash/issues/5154)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.1.0.md > Bug fixes> TiFlash)- Fix potential data inconsistency after a lot of INSERT and DELETE operations [#4956](https://github.com/pingcap/tiflash/issues/4956)
zanmato1984 marked this conversation as resolved.
Show resolved Hide resolved

<!--compute-->
- Fix wrong result of Decimal comparing caused by overflow. [#4512](https://github.com/pingcap/tiflash/issues/4512)
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-xx-xx |
| [6.1.0](/releases/release-6.1.0.md) | 2022-06-13 |
| [5.4.1](/releases/release-5.4.1.md) | 2022-05-13 |
| [5.2.4](/releases/release-5.2.4.md) | 2022-04-26 |
Expand Down