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 #7311

Merged
merged 20 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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 @@ -550,6 +550,7 @@
+ 版本发布历史
+ [发布版本汇总](/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
23 changes: 23 additions & 0 deletions releases/release-5.2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: TiDB 5.2.2 Release Notes
---

# TiDB 5.2.2 Release Notes

发版日期:2021 年 10 月 27 日

TiDB 版本:5.2.2

## 兼容性更改

## 功能增强

qiancai marked this conversation as resolved.
Show resolved Hide resolved
## 提升改进
qiancai marked this conversation as resolved.
Show resolved Hide resolved

## Bug 修复

+ TiDB
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ TiFlash
qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ PD
Copy link
Member

@rleungx rleungx Oct 21, 2021

Choose a reason for hiding this comment

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

- 修复因为超过副本配置数量而错误删除有数据且处于 `pending` 状态的副本的问题 [#4075](https://github.com/tikv/pd/pull/4075)
- 修复 `down peer` 无法及时修复的问题 [#4084](https://github.com/tikv/pd/pull/4084)
- 修复 `scatter range` 调度器无法对空 `region` 进行调度的问题 [#4118](https://github.com/tikv/pd/pull/4118)
- 修复 `key manager` 占用过多 CPU 的问题 [#4153](https://github.com/tikv/pd/pull/4153)
- 修复热点调度器变更配置过程中可能存在的数据竞争问题 [#4170](https://github.com/tikv/pd/pull/4170)
- 修复 `region syncer` 卡住导致 `leader` 选举慢的问题 [#4220](https://github.com/tikv/pd/pull/4220)

Copy link
Contributor

@zier-one zier-one Oct 25, 2021

Choose a reason for hiding this comment

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

Suggested change
+ PD
+ PD
# TiCDC
## 提升改进
- 将 Kafka sink 配置项默认值由 `MaxMessageBytes` 64MB 改为 1MB,消息因体积过大而被 Kafka Broker 拒收。[#3104](https://github.com/pingcap/ticdc/pull/3104)
- 降低同步链路中的内存占用 [#3037](https://github.com/pingcap/ticdc/pull/3037) [#2726](https://github.com/pingcap/ticdc/pull/2726) [#2642](https://github.com/pingcap/ticdc/pull/2642)
- 优化监控项和告警规则,提升了同步链路、内存 GC、存量数据扫描过程的可观测性。[#2735](https://github.com/pingcap/ticdc/pull/2735) [#2828](https://github.com/pingcap/ticdc/pull/2828) [#3000](https://github.com/pingcap/ticdc/pull/3000 [#3035](https://github.com/pingcap/ticdc/pull/3035) [#3026](https://github.com/pingcap/ticdc/pull/3026)
- 当同步任务状态正常时,不再显示历史上的错误信息,避免误导用户。[#2979]https://github.com/pingcap/ticdc/pull/2979
## Bug 修复
- 修复当上游 TiDB 实例意外退出时,TiCDC 同步任务推进可能停滞的问题。[#3102](https://github.com/pingcap/ticdc/pull/3102)
- 修复 TiCDC 进程 PANIC `tikv reported duplicated request to the same region, which is not expected`[#3093](https://github.com/pingcap/ticdc/pull/3093)
- 修复在验证下游 TiDB/MySQL 可用性时导致的无意义的 CPU 消耗。[#3077](https://github.com/pingcap/ticdc/pull/3077)
- 修复 TiCDC 产生的 Kafka 消息体积不受 `max-message-size` 约束的问题。[#3049](https://github.com/pingcap/ticdc/pull/3049)
- 修复当写入 Kafka 消息发生错误时,TiCDC 同步任务推进可能停滞的问题。[#3018](https://github.com/pingcap/ticdc/pull/3018)
- 修复当开启 `force-replicate` 时,可能有些没有有效索引的分区表被非预期的忽略的问题。[#2866](https://github.com/pingcap/ticdc/pull/2866)
- 修复当扫描存量数据耗时过长时,可能由于 TiKV 进行 GC 而导致存量数据扫描失败的问题。[#2854](https://github.com/pingcap/ticdc/pull/2854)
- 修复在将某些类型的列编码为 Open Protocol 格式时,TiCDC 进程可能 PANIC `interface conversion: interface {} is string, not []uint8`[#2784](https://github.com/pingcap/ticdc/pull/2784)
- 修复在将某些类型的列编码为 Avro 格式时,TiCDC 进程可能 PANIC `interface conversion: interface {} is uint64, not int64`[#2657](https://github.com/pingcap/ticdc/pull/2657)
# TiDB-Binlog
## Bug 修复
- 修复当大部分表被过滤掉时,在某些特殊的负载下,checkpoint 不更新的问题。[#1075](https://github.com/pingcap/tidb-binlog/pull/1075)

1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TiDB 历史版本发布声明如下:

## 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