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.0.1 release notes #6061

Merged
merged 16 commits into from
Apr 24, 2021
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
+ [发布版本汇总](/releases/release-notes.md)
+ [产品路线图](/roadmap.md)
+ v5.0
- [5.0.1](/releases/release-5.0.1.md)
- [5.0 GA](/releases/release-5.0.0.md)
- [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
Expand Down
44 changes: 44 additions & 0 deletions releases/release-5.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: TiDB 5.0.1 Release Notes
---

# TiDB 5.0.1 Release Notes

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

TiDB 版本:5.0.1

## 兼容性更改

## 新功能

## 改进提升

Copy link
Contributor

Choose a reason for hiding this comment

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

  • TiKV
    • 使用 zstd 压缩 Region Snapshot #10005

Copy link
Contributor

@3pointer 3pointer Apr 20, 2021

Choose a reason for hiding this comment

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

Suggested change
+Tools
- BR
* 删除 summary 日志中一些容易误解的信息. [#1009](https://github.com/pingcap/br/pull/1009)

+ TiKV

- 使用 `zstd` 压缩 Region Snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
+ PD
- 改善 Region 分数公式使其更适用异构集群问题 [#1009](https://github.com/pingcap/br/pull/1009)
- 避免在添加 `scatter range` 后的非预期统计行为 [#3602](https://github.com/pingcap/pd/pull/3602)

## Bug 修复
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
## Bug 修复
## Bug 修复
+ TiKV
- 修复了 coprocessor 的 IN 表达式未正确处理 unsigned/signed int 类型数据的问题 [#10018](https://github.com/tikv/tikv/pull/10018)
- 修复了在 batch ingest SST 之后产生大量空 Region 的问题 [#10015](https://github.com/tikv/tikv/pull/10015)
- 修复了 `cast_string_as_time` 输入非法的 UTF-8 值之和导致 panic 的问题 [#9995](https://github.com/tikv/tikv/pull/9995)
- 修复了“文件目录”文件损坏之后 TiKV 无法启动的问题 [#9992](https://github.com/tikv/tikv/pull/9992)

Copy link
Member

@winoros winoros Apr 20, 2021

Choose a reason for hiding this comment

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

Suggested change
## Bug 修复
## Bug 修复
+ TiDB
- 修复投影消除在投影结果为空时执行结果可能错误的问题 [#24093](https://github.com/pingcap/tidb/pull/24093)
- 修复某些情况下列允许为 NULL 时执行结果可能错误的问题 [#24063](https://github.com/pingcap/tidb/pull/24063)
- 当有虚拟列参与运算时不允许生成 MPP 计划 [#24058](https://github.com/pingcap/tidb/pull/24058)
- 修复 Plan Cache 中对 PointGet 和 TableDual 错误的重复使用 [#24043](https://github.com/pingcap/tidb/pull/24043)
- IndexMerge 算子需要保留聚簇索引的输出 [#24042](https://github.com/pingcap/tidb/pull/24042)
- 修复 BIT 类型相关的错误的类型推导 [#24027](https://github.com/pingcap/tidb/pull/24027)
- 修复某些优化器 hint 在 PointGet 算子存在时无法生效的问题 [#23685](https://github.com/pingcap/tidb/pull/23685)
- 修复某些情况下 DDL job 在将状态设置外 rolling back 时可能的参数解析失败的问题 [#24080](https://github.com/pingcap/tidb/pull/24080)
- 修复二进制字面值常量的索引范围构造错误的问题 [#24041](https://github.com/pingcap/tidb/pull/24041)
- 修复某些情况下 IN 语句执行结果可能错误的问题 [#24023](https://github.com/pingcap/tidb/pull/24023)
- 修复某些字符串函数返回结果错误的问题 [#23879](https://github.com/pingcap/tidb/pull/23879)
- 执行 REPLACE 语句需要用户同时拥有 INSERT 和 DELETE 的权限 [#23939](https://github.com/pingcap/tidb/pull/23939)
- 修复点差时的性能回退 [#24070](https://github.com/pingcap/tidb/pull/24070)

Copy link
Contributor

Choose a reason for hiding this comment

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

  • TiFLash

    • 修复存储引擎无法删除某些范围数据的问题
    • 修复 time 转换为 int 时产生错误结果的问题
    • 修复 receiver 可能无法在 10 秒内找到对应任务的问题
    • 修复 cancelMPPQuery 中可能存在无效迭代器的问题
    • 修复 bitwise 操作和 TiDB 行为不一致的问题
    • 修复当使用 prefix key 时出现范围重叠报错的问题
    • 修复字符串转换为 int 时产生错误结果的问题
    • 修复连续快速写入可能导致 TiFlash OOM 的问题
    • 修复列名重复会引发报错的问题
    • 修复 MPP 执行计划无法被解析的问题
    • 修复 Table GC 时会引发空指针的问题
    • 修复向已被删除的表写数据时 TiFlash 进程崩溃的问题
    • 修复当使用 BR Restore 时 TiFlash 进程崩溃的问题


Copy link
Contributor

@3pointer 3pointer Apr 20, 2021

Choose a reason for hiding this comment

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

Suggested change
+ Tools
- Lightning
* 修复导入过程中进度不准确的问题. [#1005](https://github.com/pingcap/br/pull/1005)
- BR
* 修复备份时设置 ratelimit 不生效的问题. [#1026](https://github.com/pingcap/br/pull/1026)
* 修复备份时不能容忍少部分 TiKV 节点挂掉的问题. [#1019](https://github.com/pingcap/br/pull/1019)
- TiCDC
* 修复 unified sorter 中的并发问题,以及改进日志. [#1678](https://github.com/pingcap/ticdc/pull/1678)
* 修复同步到 minio 时,重复创建目录会导致同步中断的问题. [#1672]
* 默认打开 session 变量 `explicit_defaults_for_timestamp`,使得 mysql 和上游 TiDB 行为一致 . [#1659](https://github.com/pingcap/ticdc/pull/1659)
* 修复错误的处理 io.EOF 问题,导致同步中断的问题. [#1648](https://github.com/pingcap/ticdc/pull/1648)
* 修复 TiKV CDC endpoint CPU 统计信息. [#1645](https://github.com/pingcap/ticdc/pull/1645)
* 增加 defaultBufferChanSize 来避免某些情况下同步阻塞的问题 [#1632](https://github.com/pingcap/ticdc/pull/1632)

+ TiDB

- 修复投影消除在投影结果为空时执行结果可能错误的问题 [#24093](https://github.com/pingcap/tidb/pull/24093)
- 修复某些情况下列允许为 NULL 时执行结果可能错误的问题 [#24063](https://github.com/pingcap/tidb/pull/24063)
- 当有虚拟列参与运算时不允许生成 MPP 计划 [#24058](https://github.com/pingcap/tidb/pull/24058)
- 修复 Plan Cache 中对 PointGet 和 TableDual 错误的重复使用 [#24043](https://github.com/pingcap/tidb/pull/24043)
- IndexMerge 算子需要保留聚簇索引的输出 [#24042](https://github.com/pingcap/tidb/pull/24042)
- 修复 BIT 类型相关的错误的类型推导 [#24027](https://github.com/pingcap/tidb/pull/24027)
- 修复某些优化器 hint 在 PointGet 算子存在时无法生效的问题 [#23685](https://github.com/pingcap/tidb/pull/23685)
- 修复某些情况下 DDL job 在将状态设置外 rolling back 时可能的参数解析失败的问题 [#24080](https://github.com/pingcap/tidb/pull/24080)
- 修复二进制字面值常量的索引范围构造错误的问题 [#24041](https://github.com/pingcap/tidb/pull/24041)
- 修复某些情况下 IN 语句执行结果可能错误的问题 [#24023](https://github.com/pingcap/tidb/pull/24023)
- 修复某些字符串函数返回结果错误的问题 [#23879](https://github.com/pingcap/tidb/pull/23879)
- 执行 REPLACE 语句需要用户同时拥有 INSERT 和 DELETE 的权限 [#23939](https://github.com/pingcap/tidb/pull/23939)
- 修复点差时的性能回退 [#24070](https://github.com/pingcap/tidb/pull/24070)

+ TiKV

- 修复了 coprocessor 的 IN 表达式未正确处理 unsigned/signed int 类型数据的问题 [#10018](https://github.com/tikv/tikv/pull/10018)
- 修复了在 batch ingest SST 之后产生大量空 Region 的问题 [#10015](https://github.com/tikv/tikv/pull/10015)
- 修复了 `cast_string_as_time` 输入非法的 UTF-8 值之和导致 panic 的问题 [#9995](https://github.com/tikv/tikv/pull/9995)
- 修复了“文件目录”文件损坏之后 TiKV 无法启动的问题 [#9992](https://github.com/tikv/tikv/pull/9992)
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.0

- [5.0.1](/releases/release-5.0.1.md)
- [5.0 GA](/releases/release-5.0.0.md)
- [5.0.0-rc](/releases/release-5.0.0-rc.md)

Expand Down