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.2.2 release notes #6648

Merged
merged 68 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
c879598
correct-the-title-level
Mar 15, 2021
656259a
Revert "correct-the-title-level"
Mar 15, 2021
ca92f97
Merge remote-tracking branch 'upstream/master'
qiancai Mar 16, 2021
83f382d
Merge remote-tracking branch 'upstream/master'
qiancai Mar 18, 2021
cdec365
Merge remote-tracking branch 'upstream/master'
qiancai Mar 23, 2021
3272256
Merge remote-tracking branch 'upstream/master'
qiancai Mar 24, 2021
5f5d7bf
Merge remote-tracking branch 'upstream/master'
qiancai Mar 25, 2021
32fd464
Merge remote-tracking branch 'upstream/master'
qiancai Mar 26, 2021
f1f925e
Merge remote-tracking branch 'upstream/master'
qiancai Mar 29, 2021
9fc1720
Merge remote-tracking branch 'upstream/master'
qiancai Apr 2, 2021
9538fc3
Merge remote-tracking branch 'upstream/master'
qiancai Apr 6, 2021
f672173
Merge remote-tracking branch 'upstream/master'
qiancai Apr 7, 2021
a7e77b2
Merge remote-tracking branch 'upstream/master'
qiancai Apr 8, 2021
df97735
Merge remote-tracking branch 'upstream/master'
qiancai Apr 9, 2021
cbfb609
Merge remote-tracking branch 'upstream/master'
qiancai Apr 13, 2021
4c57122
Merge remote-tracking branch 'upstream/master'
qiancai Apr 19, 2021
b0db8e6
TiUP: Fix broken links and errors
qiancai Apr 19, 2021
1e4666c
Revert "TiUP: Fix broken links and errors"
qiancai Apr 19, 2021
41fc9ec
Merge remote-tracking branch 'upstream/master'
qiancai Apr 20, 2021
fcbd67c
Merge remote-tracking branch 'upstream/master'
qiancai Jun 23, 2021
3d57476
Merge remote-tracking branch 'upstream/master'
qiancai Jun 24, 2021
814eeae
Merge remote-tracking branch 'upstream/master'
qiancai Jun 24, 2021
845ad64
Merge remote-tracking branch 'upstream/master'
qiancai Jul 8, 2021
e26142c
Merge remote-tracking branch 'upstream/master'
qiancai Jul 8, 2021
36ee453
Merge remote-tracking branch 'upstream/master'
qiancai Jul 21, 2021
c30e42d
Merge remote-tracking branch 'upstream/master'
qiancai Jul 30, 2021
0ec720c
merge from upstream master
ti-srebot Jul 31, 2021
93174d5
Merge remote-tracking branch 'upstream/master'
qiancai Aug 24, 2021
523af42
Merge remote-tracking branch 'upstream/master'
qiancai Aug 24, 2021
7ce4037
Merge remote-tracking branch 'upstream/master'
qiancai Aug 25, 2021
cdd77ab
Merge remote-tracking branch 'upstream/master'
qiancai Aug 28, 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
0449095
releases: add TiDB 5.2.2-14-24-47 release notes
ti-srebot Oct 20, 2021
bdcfec5
Merge branch 'pingcap:master' into update-5.2.2-14-24-47
qiancai Oct 20, 2021
1a93c7f
add_5.2.2_to_toc
qiancai Oct 20, 2021
483af9e
Update release-5.2.2.md
qiancai Oct 20, 2021
113bf56
Update releases/release-5.2.2.md
qiancai Oct 25, 2021
efaa42f
Update releases/release-5.2.2.md
qiancai Oct 25, 2021
83c29fe
Update releases/release-5.2.2.md
qiancai Oct 25, 2021
915c25f
Apply suggestions from code review
qiancai Oct 26, 2021
97b51cb
Update releases/release-5.2.2.md
qiancai Oct 26, 2021
05d94b8
Merge branch 'master' into pr/6648
qiancai Oct 26, 2021
a6772e7
implement input
qiancai Oct 26, 2021
259b66b
Update releases/release-5.2.2.md
qiancai Oct 28, 2021
260943a
Update releases/release-5.2.2.md
qiancai Oct 28, 2021
82577a4
Update release-5.2.2.md
qiancai Oct 28, 2021
76ee3e7
add_tikv_notes
qiancai Oct 28, 2021
eca04b4
Update release-5.2.2.md
qiancai Oct 28, 2021
97c2bbc
Update releases/release-5.2.2.md
qiancai Oct 28, 2021
ea8e90e
Apply suggestions from code review
qiancai Oct 28, 2021
f02568c
Update releases/release-5.2.2.md
qiancai Oct 28, 2021
7f59bbc
revise TiKV & PD
en-jin19 Oct 28, 2021
b35ee53
revise format of TiKV and PD parts
en-jin19 Oct 28, 2021
d8f3c48
revise format of TiKV and PD parts
en-jin19 Oct 28, 2021
103bcba
Apply suggestions from code review
qiancai Oct 29, 2021
ab7a29a
Apply suggestions from code review
Liuxiaozhen12 Oct 29, 2021
e96754c
Update releases/release-5.2.2.md
hfxsd Oct 29, 2021
105d3c1
Apply suggestions from code review
en-jin19 Oct 29, 2021
418766e
Apply suggestions from code review
en-jin19 Oct 29, 2021
3fc846a
Apply suggestions from code review
Liuxiaozhen12 Oct 29, 2021
35c919a
Update releases/release-5.2.2.md
qiancai Oct 29, 2021
a0c5cc4
Update releases/release-5.2.2.md
qiancai Oct 29, 2021
cd272ad
Apply suggestions from code review
Liuxiaozhen12 Oct 29, 2021
6d5e0cf
Update releases/release-5.2.2.md
qiancai Oct 29, 2021
ca3c270
Update release-5.2.2.md
qiancai Oct 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@
+ Release Notes
+ [All Releases](/releases/release-notes.md)
+ v5.2
+ [5.2.2](/releases/release-5.2.2.md)
+ [5.2.1](/releases/release-5.2.1.md)
+ [5.2.0](/releases/release-5.2.0.md)
+ v5.1
Expand Down
109 changes: 109 additions & 0 deletions releases/release-5.2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
title: TiDB 5.2.2 Release Notes
---

# TiDB 5.2.2 Release Notes

Release Date: October 27, 2021

TiDB version: 5.2.2

## Compatibility change(s)

## Feature enhancement(s)

qiancai marked this conversation as resolved.
Show resolved Hide resolved
## Improvements

+ TiDB

- Show information about SQL statement in the debug log about coprocessor encountering lock [#27718](https://github.com/pingcap/tidb/issues/27718)
- Add backup and restore size for TiDB SQL backup/restore task . [#27247](https://github.com/pingcap/tidb/issues/27247)
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

- Simplify the algorithm of L0 flow control [#10879](https://github.com/tikv/tikv/issues/10879)
- Improve raft client error log report [#10983](https://github.com/tikv/tikv/pull/10983)
- TiKV coprocessor slow log will only consider time spent on processing the request. [#10866](https://github.com/tikv/tikv/pull/10866)
- Drop log instead of blocking threads when slogger thread is overloaded and queue is filled up. [#10866](https://github.com/tikv/tikv/pull/10866)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Drop log instead of blocking threads when slogger thread is overloaded and queue is filled up. [#10866](https://github.com/tikv/tikv/pull/10866)
- Drop log instead of blocking threads when slow logger thread is overloaded and queue is filled up. [#10866](https://github.com/tikv/tikv/pull/10866)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slogger is the name of a log component https://docs.rs/sloggers/2.0.2/sloggers/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe consider slogger or "slogger" in that case. Also fine to leave it as is

- Add more write query kind. [#10507](https://github.com/tikv/tikv/issues/10507)

+ PD

- Add more write query kind in QPS dimension for hot region scheduler [#4028](https://github.com/tikv/pd/pull/4028)
- Dynamically adjust the retry limit to improve the performance of the balance region scheduler [#4046](https://github.com/tikv/pd/pull/4046)
- Update TiDB Dashboard to v2021.10.08.1 [#4070](https://github.com/tikv/pd/pull/4070)
- Support scheduling regions with unhealthy peers for the evict leader scheduler [#4132](https://github.com/tikv/pd/pull/4132)
- Speed up scheduler exit process when receiving the signal [#4199](https://github.com/tikv/pd/pull/4199)
en-jin19 marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ TiCDC

Liuxiaozhen12 marked this conversation as resolved.
Show resolved Hide resolved
## Bug Fixes

+ TiDB

- Fix the issue that plan-cache cannot be aware of changes of unsigned flags [#28254](https://github.com/pingcap/tidb/issues/28254)
- Fix the wrong partition pruning when some conditions are out of range [#28233](https://github.com/pingcap/tidb/issues/28233)
- Fix the issue that planner may cache invalid plans for joins in some cases [#28087](https://github.com/pingcap/tidb/issues/28087)
- Fix wrong index hash join when hash col is enum. [#27893](https://github.com/pingcap/tidb/issues/27893)
- Fix a batch client bug that recycle idle connection may block sending requests in some rare cases. [#27688](https://github.com/pingcap/tidb/pull/27688)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Fixed Lightning panic when it failed to perform checksum on target cluster. [#27686](https://github.com/pingcap/tidb/pull/27686)
- Fix the wrong result for date_add and date_sub in some cases. [#27232](https://github.com/pingcap/tidb/issues/27232)
- Fix wrong result of hour function in vectorized expression [#28643](https://github.com/pingcap/tidb/issues/28643)
- Fixed a bug where MySQL 5.1 and older clients had issues authenticating [#27855](https://github.com/pingcap/tidb/issues/27855)
- fix auto analyze may get triggered out of specified time. [#28698](https://github.com/pingcap/tidb/issues/28698)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Fix the bug that setting any session variable will make `tidb_snapshot` unwork. [#28683](https://github.com/pingcap/tidb/pull/28683)
- Fixed a bug that caused BR get stuck when many missing-peer regions in cluster. [#27534](https://github.com/pingcap/tidb/issues/27534)
- Fix unexpected error like `tidb_cast to Int32 is not supported` when unsupported cast is pushed down to TiFlash [#23907](https://github.com/pingcap/tidb/issues/23907)
- Fix error message for DECIMAL overflow is just "ERROR 1690 (22003): %s value is out of range in '%s'" [#27964](https://github.com/pingcap/tidb/issues/27964)
- Fix bug that MPP node availability detect does not work in some corner cases [#3118](https://github.com/pingcap/tics/issues/3118)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Fix data-race bug when alloc MPP task ID [#27952](https://github.com/pingcap/tidb/issues/27952)
- Fix index out of bound bug when empty dual table is remove for MPP query [#28250](https://github.com/pingcap/tidb/issues/28250)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- Avoid false positive error log about `invalid cop task execution summaries length` when running MPP query. [#28264](https://github.com/pingcap/tidb/pull/28264)
- Fix `can not found column in Schema column` error for mpp queries [#28149](https://github.com/pingcap/tidb/pull/28149)
- Fix a bug that TiDB may crash when TiFlash is shutting down. [#28096](https://github.com/pingcap/tidb/issues/28096)
- Support for 3DES based TLS ciphersuites was removed [#27859](https://github.com/pingcap/tidb/pull/27859)
- Do not check multi-ingest when store is offline. [#27826](https://github.com/pingcap/tidb/pull/27826)
- Fix the issue that pre-check cost too much time when import too many files for tables. [#27605](https://github.com/pingcap/tidb/issues/27605)
- Fix expression rewrite makes `between` infers wrong collation. [#27146](https://github.com/pingcap/tidb/issues/27146)
- Make `group_concat` function consider the collation [#27429](https://github.com/pingcap/tidb/issues/27429)
- Fix extract bug when argument is a negative duration [#27236](https://github.com/pingcap/tidb/issues/27236)
- Fix a bug that creates partition fail if `NO_UNSIGNED_SUBTRACTION` is set. [#26765](https://github.com/pingcap/tidb/issues/26765)
- Avoid expressions with side effects in column pruning and aggregation pushdown. [#27106](https://github.com/pingcap/tidb/issues/27106)
- Remove useless GRPC log in production.[#27239](https://github.com/pingcap/tidb/pull/27239)
- Limit the valid decimal length to fix precision-related issues.[#3091](https://github.com/pingcap/tics/issues/3091)
- Fix the wrong way to check for overflow in `plus` expression.[#26977](https://github.com/pingcap/tidb/issues/26977)
- Fix `data too long` error when dumping stats from the table with new collation data.[#27024](https://github.com/pingcap/tidb/issues/27024)
- Fix retried transactions' statements are not included in TIDB_TRX.[#28670](https://github.com/pingcap/tidb/pull/28670)
en-jin19 marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

- Fix frequent CDC incremental scan retry due to `Congest` error. [#11082](https://github.com/tikv/tikv/issues/11082)
- Fix channel full could break the raft connection [#11047](https://github.com/tikv/tikv/issues/11047)
- Fix the issue that batch messages can be too large in raft client implementation [#9714](https://github.com/tikv/tikv/issues/9714)
- Fix coroutine leaking in `resolved_ts`. [#10965](https://github.com/tikv/tikv/issues/10965)
- Fix panic in coprocessor when response size exceeds 4GiB [#9012](https://github.com/tikv/tikv/issues/9012)
- Fix the issue that snapshot GC missed GC snapshot files when there's one snapshot file failed to be GC-ed. [#10813](https://github.com/tikv/tikv/issues/10813)
- Fix an unexpected panic when exceeds deadline on processing copr requests. [#10852](https://github.com/tikv/tikv/issues/10852)
en-jin19 marked this conversation as resolved.
Show resolved Hide resolved

+ PD

- Fix the issue that PD would not fix down peers in time [#4077](https://github.com/tikv/pd/issues/4077)
- Fix the data race issue when setting hot region configuration [#4170](https://github.com/tikv/pd/pull/4170)
- Fix the issue that key manager cost too much CPU [#4071](https://github.com/tikv/pd/issues/4071)
- Fix the issue that PD may remove the wrong pending peer if the peer count exceeds the limit [#4045](https://github.com/tikv/pd/issues/4045)
- Fix the issue that scatter range scheduler cannot schedule the empty region [#4118](https://github.com/tikv/pd/pull/4118)
- Fix the issue that PD may not elect a new leader as soon as the leader steps down [#3936](https://github.com/tikv/pd/issues/3936)
- Fix the issue that PD may not elect leader as soon as leader step down [#3936](https://github.com/tikv/pd/issues/3936)
- `evict-leader-scheduler` supports schedule the regions with unhealthy peers. [#4132](https://github.com/tikv/pd/pull/4132)
- Fix the bug that PD would not fix down-peer in time. [#4077](https://github.com/tikv/pd/issues/4077)
en-jin19 marked this conversation as resolved.
Show resolved Hide resolved

+ TiFlash

- Fix the issue that TiFlash fails to start up under platform without library `nsl`
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ TiCDC

Liuxiaozhen12 marked this conversation as resolved.
Show resolved Hide resolved
Liuxiaozhen12 marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/']

## 5.2

- [5.2.2](/releases/release-5.2.2.md)
- [5.2.1](/releases/release-5.2.1.md)
- [5.2.0](/releases/release-5.2.0.md)

Expand Down