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 v4.0.11 release notes #5458

Merged
merged 28 commits into from
Feb 26, 2021
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
37db5bf
Create release-4.0.11.md
Joyinqin Feb 1, 2021
c594c34
Update TOC.md
Joyinqin Feb 1, 2021
263a292
add toc
TomShawn Feb 1, 2021
aa96ff8
Update release-notes.md
Joyinqin Feb 1, 2021
be4add1
Merge branch 'release-4.0.11' of https://github.com/Joyinqin/docs-cn …
TomShawn Feb 1, 2021
c0bfc79
Merge branch 'release-4.0.11' of https://github.com/Joyinqin/docs-cn …
TomShawn Feb 1, 2021
fb3a8a9
Merge branch 'master' into release-4.0.11
TomShawn Feb 1, 2021
199c491
add TiFlash notes
TomShawn Feb 2, 2021
decee65
Merge branch 'master' into release-4.0.11
TomShawn Feb 3, 2021
9876a02
add a tiflash note
TomShawn Feb 3, 2021
1fd975d
Merge branch 'master' into release-4.0.11
TomShawn Feb 3, 2021
b52a52a
add tikv and tools notes
TomShawn Feb 3, 2021
a03bf12
add tidb notes and pd notes
TomShawn Feb 3, 2021
a8309d0
language and format
TomShawn Feb 3, 2021
bb2fe4f
Update release-4.0.11.md
TomShawn Feb 4, 2021
fcac06d
Merge branch 'master' into release-4.0.11
TomShawn Feb 4, 2021
9c52ee1
Merge branch 'master' into release-4.0.11
TomShawn Feb 20, 2021
83b3704
Update releases/release-4.0.11.md
TomShawn Feb 22, 2021
5559071
Update releases/release-4.0.11.md
TomShawn Feb 22, 2021
1b52b4c
Merge branch 'master' into release-4.0.11
TomShawn Feb 24, 2021
f9a393b
Update releases/release-4.0.11.md
TomShawn Feb 24, 2021
b4321e8
add TiFlash notes
TomShawn Feb 24, 2021
891c4be
update release date
TomShawn Feb 26, 2021
d182d3f
Merge branch 'master' into release-4.0.11
TomShawn Feb 26, 2021
3219f2f
remove TiFlash notes
TomShawn Feb 26, 2021
0cb4485
address comments from qiancai
TomShawn Feb 26, 2021
51891b0
fix wording
TomShawn Feb 26, 2021
8d57bc2
Merge branch 'master' into release-4.0.11
TomShawn Feb 26, 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 @@ -520,6 +520,7 @@
+ v5.0
- [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
- [4.0.11](/releases/release-4.0.11.md)
- [4.0.10](/releases/release-4.0.10.md)
- [4.0.9](/releases/release-4.0.9.md)
- [4.0.8](/releases/release-4.0.8.md)
Expand Down
97 changes: 97 additions & 0 deletions releases/release-4.0.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
---
title: TiDB 4.0.11 Release Notes
---

# TiDB 4.0.11 Release Notes

发版日期:2021 年 2 月 4 日
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TiDB 版本:4.0.11

## 兼容性更改

## 新功能

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

- 支持 `utf8mb4_unicode_ci` 函数 [#9577](https://github.com/tikv/tikv/pull/9577)
- 支持 `cast_year_as_time` 函数 [#9299](https://github.com/tikv/tikv/pull/9299)

+ TiFlash

- 增加排队处理 Coprocessor 任务的线程池以减小 OOM 几率, 随之增加两项配置项 `cop_pool_size` 与 `batch_cop_pool_size`, 默认为 `物理核数 * 2`. [#1312](https://github.com/pingcap/tics/pull/1312)

## 改进提升

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

- 为 DBasS 添加 server 信息的 metrics [#9591](https://github.com/tikv/tikv/pull/9591)
- Grafana dashboards 支持监控多个集群 [#9572](https://github.com/tikv/tikv/pull/9572)
- 汇报 RocksDB 的 metrics 到 TiDB [#9316](https://github.com/tikv/tikv/pull/9316)
- 为 coprocessor 任务记录暂停时间 [#9277](https://github.com/tikv/tikv/pull/9277)
- 为 load-base-split 添加 key 数量和大小的阀值 [#9354](https://github.com/tikv/tikv/pull/9354)
- 在 import 前检查文件是否存在 [#9544](https://github.com/tikv/tikv/pull/9544)
- 改进 Fast Tune 面板 [#9180](https://github.com/tikv/tikv/pull/9180)

+ TiFlash

- 优化 date_format 函数的性能 [#1339](https://github.com/pingcap/tics/pull/1339)
- 优化处理 ingest SST 时的内存开销
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ Tools

+ TiCDC

- 在 Capture 元信息添加版本信息和在 Changefeed 元信息中创建该 Changefeed 的 CLI 版本 [#1342](https://github.com/pingcap/ticdc/pull/1342)

+ TiDB Lightning

* 并行创建数据表以改进导入速度 [#502](https://github.com/pingcap/tidb-lightning/pull/502)
* 跳过分裂小 region 以改进导入速度 [#524](https://github.com/pingcap/tidb-lightning/pull/524)
* 添加导入进度条并改进导入进度精度 [#506](https://github.com/pingcap/tidb-lightning/pull/506)

## Bug 修复
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

- 修复当设置 PROST=1 时构建 TiKV 失败的问题 [#9604](https://github.com/tikv/tikv/pull/9604)
- 修复不匹配的内存诊断信息 [#9589](https://github.com/tikv/tikv/pull/9589)
- 修复在恢复 rawkv 数据时部分 key range 的 end key 的包含性问题 [#9583](https://github.com/tikv/tikv/pull/9583)
- 修复当 CDC 增量扫数据时读取一个被回滚的事务的某个 key 的旧值时 TiKV 可能会 panic 的问题 [#9569](https://github.com/tikv/tikv/pull/9569)
- 修复使用不同配置的连接拉取同一个 region 的变更时旧值配置不匹配的问题 [#9565](https://github.com/tikv/tikv/pull/9565)
- 修复 TiVK 运行在网络接口缺少 MAC 地址的设备上会崩溃的问题(自 v4.0.9 引入)[#9516](https://github.com/tikv/tikv/pull/9516)
- 修复 TiKV 在备份大 region 时会 OOM 的问题 [#9448](https://github.com/tikv/tikv/pull/9448)
- 修复 `region-split-check-diff` 无法配置的问题 [#9530](https://github.com/tikv/tikv/pull/9530)
- 修复系统时间回退时 TiKV 会 panic 的问题 [#9542](https://github.com/tikv/tikv/pull/9542)

+ TiFlash

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- 修正 decimal 类型计算 `min/max`的结果错误
- 修正读取数据时有可能导致 crash 的问题 [#1358](https://github.com/pingcap/tics/pull/1358)
- 修正 DDL 操作后写入的数据可能会在 compaction 后丢失的问题 [#1350](https://github.com/pingcap/tics/pull/1350)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

Copy link
Collaborator

Choose a reason for hiding this comment

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

line 138 to line 143, the verb "修正“ is used, while in all other notes in this document, "修复“ is used. Suggest using "修复“ consistently in this document.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed

Copy link
Collaborator

@qiancai qiancai Feb 26, 2021

Choose a reason for hiding this comment

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

LGTM

+ Tools

+ TiCDC

* 修复 TiCDC 服务在同时发生 ErrTaskStatusNotExists 和 Capture 会话关闭的情况下的非预期的退出 [#1240](https://github.com/pingcap/ticdc/pull/1240)
* 修复不用 Changefeed 之间不同 old-value 设置的互相影响问题 [#1347](https://github.com/pingcap/ticdc/pull/1347)
* 修复 TiCDC 服务在遇见错误 sort-engine 参数时卡住的问题 [#1309](https://github.com/pingcap/ticdc/pull/1309)
* 修复在非 Owner 节点上获取 debug 信息退出的问题 [#1349](https://github.com/pingcap/ticdc/pull/1349)
* 修复 `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` 两个监控指标在增删数据表时没有被正确更新的问题 [#1351](https://github.com/pingcap/ticdc/pull/1351)
* 修复 Processor 在添加同步数据表时退出而造成的潜在的数据丢失问题 [#1363](https://github.com/pingcap/ticdc/pull/1363)
* 修复 Owner 在数据表迁移期间造成非正常的状态的 TiCDC 服务的退出问题 [#1352](https://github.com/pingcap/ticdc/pull/1352)
* 修复 TiCDC 服务在丢失 service gc safepoint 是没有及时退出的问题 [#1367](https://github.com/pingcap/ticdc/pull/1367)
* 修复 kv client 潜在的跳过创建 event feed 的问题 [#1336](https://github.com/pingcap/ticdc/pull/1336)
* 修复同步事务到下游时事务原子性被破坏的问题 [#1375](https://github.com/pingcap/ticdc/pull/1375)

+ Backup & Restore (BR)

* 修复恢复备份后可能产生大 region 的问题 [#702](https://github.com/pingcap/br/pull/702)
* 修复在没有 auto id 的数据表上恢复 auto id 的问题 [#720](https://github.com/pingcap/br/pull/720)

+ TiDB Lightning

* 修复使用 TiDB backend 时可能触发的 "column count mismatch" 问题 [#535](https://github.com/pingcap/tidb-lightning/pull/535)
* 修复 TiDB backend 在导入数据源 column 个数和数据表 column 个数不匹配时非预期退出的问题 [#528](https://github.com/pingcap/tidb-lightning/pull/528)
* 修复导入期间 TiKV 可能发生的非预期退出的问题 [#554](https://github.com/pingcap/tidb-lightning/pull/554)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ TiDB 历史版本发布声明如下:

## 4.0

- [4.0.11](/releases/release-4.0.11.md)
- [4.0.10](/releases/release-4.0.10.md)
- [4.0.9](/releases/release-4.0.9.md)
- [4.0.8](/releases/release-4.0.8.md)
Expand Down