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

release: add tidb 4.0.10 release notes #5304

Merged
merged 13 commits into from
Jan 15, 2021
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@
+ v5.0
- [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
- [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)
- [4.0.7](/releases/release-4.0.7.md)
Expand Down
48 changes: 48 additions & 0 deletions releases/release-4.0.10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: TiDB 4.0.10 Release Notes
---

# TiDB 4.0.10 Release Notes

发版日期:2021 年 1 月 15 日

TiDB 版本:4.0.10

## 兼容性更改


## 新功能

+ TiFlash

- 添加了配置项 `security.redact_info_log`,可以设置将日志中的用户数据脱敏,例如把具体的值替换为 `?`
- 支持了枚举类型的无损修改
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
+ TiDB

- 添加 `txn-entry-size-limit` 配置项,用于限制事务中单个 key-value 记录的大小 [#21843](https://github.com/pingcap/tidb/pull/21843)

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

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

- 修复由于并发导致的 batch client 超时问题 [#22336](https://github.com/pingcap/tidb/pull/22336)
- 修复由于并发地自动捕获 SQL 绑定而导致的重复绑定问题 [#22295](https://github.com/pingcap/tidb/pull/22295)
- 当日志级别为 'debug' 时,让 SQL 绑定的自动捕获正确运行 [#22293](https://github.com/pingcap/tidb/pull/22293)
- 当 region 合并正在发生时,正确地释放锁 [#22267](https://github.com/pingcap/tidb/pull/22267)
- 对 datetime 类型的用户变量返回正确的值 [#22143](https://github.com/pingcap/tidb/pull/22143)
- 修复错误使用 Index Merge 访问方式的问题 [#22124](https://github.com/pingcap/tidb/pull/22124)
- 修复由于执行计划缓存导致 TiFlash 报 `wrong precision` 错误的问题 [#21960](https://github.com/pingcap/tidb/pull/21960)
- 修复由于 schema 变更导致的错误结果 [#21596](https://github.com/pingcap/tidb/pull/21596)
- 避免在 `ALTER TABLE` 中不必要的 column flag 更改 [#21474](https://github.com/pingcap/tidb/pull/21474)
- 让包含子查询块别名的 optimizer hint 生效 [#21380](https://github.com/pingcap/tidb/pull/21380)
- 为 IndexHashJoin 和 IndexMergeJoin 生成正确的 optimizer hint [#21020](https://github.com/pingcap/tidb/pull/21020)
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
+ TiFlash

- 修复了 TiFlash 解析老版本 TiDB 表结构失败导致 TiFlash 无法启动的问题。
- 修复了在 RedHat 系统中 TiFlash 会对 cpu time 进行错误处理导致 TiFlash 无法启动的问题。
- 修复了将配置项 path_realtime_mode 设置为 true 时 TiFlash 无法启动的问题。
- 修复了当调用三个参数的 `substr` 函数时,返回结果错误的问题。
TomShawn 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 @@ -13,6 +13,7 @@ TiDB 历史版本发布声明如下:

## 4.0

- [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)
- [4.0.7](/releases/release-4.0.7.md)
Expand Down