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

Conversation

qiancai
Copy link
Collaborator

@qiancai qiancai commented Oct 20, 2021

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Oct 20, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • Liuxiaozhen12
  • zimulala

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 20, 2021
@qiancai qiancai added the translation/from-docs This PR is translated from a PR in pingcap/docs. label Oct 20, 2021
@ti-chi-bot ti-chi-bot removed the missing-translation-status This PR does not have translation status info. label Oct 20, 2021

+ TiFlash

+ 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)

releases/release-5.2.2.md Outdated Show resolved Hide resolved
@solotzg solotzg assigned birdstorm and unassigned solotzg Oct 21, 2021
@ti-chi-bot ti-chi-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 26, 2021
releases/release-5.2.2.md Outdated Show resolved Hide resolved
releases/release-5.2.2.md Outdated Show resolved Hide resolved
Copy link
Contributor

@hunterlxt hunterlxt left a comment

Choose a reason for hiding this comment

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

TiKV

Improvements

  • 简化 L0 层流控算法 #11081
  • 优化 raft client 错误日志的收集 #10983
  • TiKV coprocessor 慢日志仅统计处理请求所消耗的时间 #10866
  • 当 slogger 线程过载和队列打满的情况下,丢弃日志而非阻塞线程 #10866
  • 加入更多的写入查询统计类型 #10809

Bug Fixes

  • 修复由于 Congest 错误导致的 CDC 频繁增加的 scan 重试 #11092
  • 修复因 channel 打满导致的 raft 断连情况 #11073
  • 修复了 raft client 中 batch 消息过大的问题 #11066
  • 修复了 resolved_ts 中协程泄漏的问题 #11020
  • 修复了当 response 大小超过 4GiB 时 coprocessor panic 的问题 #10993
  • 修复了 snapshot GC 缺失 GC snapshot 文件的问题,该问题发生在当一个 snapshot 文件无法被 GC 的时候 #10874
  • 修复了当处理 copr 请求的时间超出期限后的意外 panic 行为 #10857

releases/release-5.2.2.md Outdated Show resolved Hide resolved
@ti-chi-bot
Copy link
Member

@rleungx: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments.

In response to this:

Approve for PD

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

releases/release-5.2.2.md Outdated Show resolved Hide resolved
Co-authored-by: Xintao <hunterlxt@live.com>
Co-authored-by: Ryan Leung <rleungx@gmail.com>
releases/release-5.2.2.md Outdated Show resolved Hide resolved
releases/release-5.2.2.md Outdated Show resolved Hide resolved
Co-authored-by: leoppro <i@leop.pro>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
releases/release-5.2.2.md Outdated Show resolved Hide resolved
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

Approve for TiDB.

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Oct 29, 2021
@ti-chi-bot
Copy link
Member

@hunterlxt: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

releases/release-5.2.2.md Outdated Show resolved Hide resolved
@qiancai
Copy link
Collaborator Author

qiancai commented Oct 29, 2021

/merge

@ti-chi-bot
Copy link
Member

@qiancai: /merge in this pull request requires 2 approval(s).

In response to this:

/merge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Oct 29, 2021
@qiancai
Copy link
Collaborator Author

qiancai commented Oct 29, 2021

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: ed1e0b1

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Oct 29, 2021
@qiancai qiancai merged commit 4af370d into pingcap:master Oct 29, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #7355.

qiancai added a commit that referenced this pull request Oct 29, 2021
* add_5.2.2_release_notes

* Update release-5.2.2.md

* Update releases/release-5.2.2.md

* Update releases/release-5.2.2.md

Co-authored-by: Ryan Leung <rleungx@gmail.com>

* replace pr num with issue num

* add_tikv_notes

* udpate TiKV & PD parts

* update TiKV and PD parts 2

* Update releases/release-5.2.2.md

* revise format

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* Apply suggestions from code review

Co-authored-by: Enwei <jinenwei@pingcap.com>

* Apply suggestions from code review

Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Xintao <hunterlxt@live.com>
Co-authored-by: Ryan Leung <rleungx@gmail.com>

* Apply suggestions from code review

Co-authored-by: leoppro <i@leop.pro>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* Apply suggestions from code review

Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* fix ci

* Update releases/release-5.2.2.md

Co-authored-by: qiancai <qqzczy@126.com>
Co-authored-by: Ryan Leung <rleungx@gmail.com>
Co-authored-by: Enwei <jinenwei@pingcap.com>
Co-authored-by: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: Xintao <hunterlxt@live.com>
Co-authored-by: leoppro <i@leop.pro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. translation/from-docs This PR is translated from a PR in pingcap/docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.