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 4.0.15 release notes #7129

Merged
merged 12 commits into from
Sep 27, 2021
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@
- [5.0 GA](/releases/release-5.0.0.md)
- [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
- [4.0.15](/releases/release-4.0.15.md)
- [4.0.14](/releases/release-4.0.14.md)
- [4.0.13](/releases/release-4.0.13.md)
- [4.0.12](/releases/release-4.0.12.md)
Expand Down
80 changes: 80 additions & 0 deletions releases/release-4.0.15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: TiDB 4.0.15 Release Notes
---

# TiDB 4.0.15 Release Notes

## 兼容性更改

## 功能增强

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

## Bug 修复

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+工具
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
+工具
+ PD
- 修复 PD 不能及时修复 down-peer 的问题 [#4081](https://github.com/tikv/pd/pull/4081)
- 修复扩容 TiKV 时 PD 可能会 panic 的问题 [#3909](https://github.com/tikv/pd/pull/3909)
+工具


#备份和恢复(BR)

## 功能改进

- 并发执行 split 和 scatter regions 操作,在我们的性能测试中恢复速度从2小时提高到30分钟 [#1429](https://github.com/pingcap/br/pull/1429)
- 遇到 PD 请求错误或 TiKV IO 超时错误时进行重试 [#1433](https://github.com/pingcap/br/pull/1433)
- 进行大量小表时减少空 region 的产生,避免影响恢复后的集群运行 [#1374](https://github.com/pingcap/br/issues/1374) [#1432](https://github.com/pingcap/br/pull/1432)
- 创建表的时候自动执行 `Rebase auto id` 操作,,省去了单独执行 `Rebase auto id` DDL,加快恢复速度 [#1424](https://github.com/pingcap/br/pull/1424)

## Bugs 修复
- 修复了备份和恢复中平均速度计算不准确的问题 [#1410](https://github.com/pingcap/br/pull/1410)

# 数据迁移

## 数据导出工具(Dumpling)

### 功能改进

- 获取要导出的表之前过滤掉不需要导出的 database,提升过滤效率 [#337](https://github.com/pingcap/dumpling/pull/337)
- 因为 "show table status" 在某些 mysql 版本中运行存在问题,使用 "show full tables " 来获取需要导出的 tables [#332](https://github.com/pingcap/dumpling/pull/332)
- 支持从不支持 `START TRANSACTION ... WITH CONSISTENT SNAPSHOT` 或 `SHOW CREATE TABLE` 的 MySQL 协议数据库据库导出数据 [#329](https://github.com/pingcap/dumpling/pull/329)
- 完善 Dumpling 的警告日志,避免误解出现导出失败 [#340](https://github.com/pingcap/dumpling/pull/340)

## 数据导入工具(TiDB Lightning)

### 功能改进

- 支持导入数据到带有表达式索引或基于 `virtual generated column` 的索引的表中 [#1418](https://github.com/pingcap/br/pull/1418)

# TiCDC

## 功能改进

- 解决了 `new collation` 和 TiCDC 的兼容性问题 [#2304](https://github.com/pingcap/ticdc/pull/2304)
- 减少 region 在 TiKV 节点上发生转移情况的 goroutines 数量 [#2376](https://github.com/pingcap/ticdc/pull/2376)
- 优化高并发情况的 workerpool 机制 [#2486](https://github.com/pingcap/ticdc/pull/2486)
- DDL 执行异步化,不阻塞其他 changefeed 的运行 [#2471](https://github.com/pingcap/ticdc/pull/2471)
- 添加一个全局 gRPC 连接池,让 `kv client` 能够共享 gRPC 连接 [#2531](https://github.com/pingcap/ticdc/pull/2531)
- 遇到无法恢复的 DML 错误立即退出,不进行重试 [2315](https://github.com/pingcap/ticdc/pull/2315)
- 优化 unified sorter 对内存的使用 [#2710](https://github.com/pingcap/ticdc/pull/2710)
- 增加 DDL 执行的 Prometheus 监控指标 [#2681](https://github.com/pingcap/ticdc/pull/2681)
- 禁止使用不同 `Major` 或 `Minor` 版本 `cdccli` 操作 `TiCDC` [#2601](https://github.com/pingcap/ticdc/pull/2601)
- 删除被 `unify sort` 取代的 `file sorter`[#2325](https://github.com/pingcap/ticdc/pull/2325)
- 清理被删的 changefeed 和退出的处理节点的监控数据 [#2313](https://github.com/pingcap/ticdc/pull/2313)
- 优化 region 初始化时的 `resolve lock` 算法 [#2264](https://github.com/pingcap/ticdc/pull/2264)

## Bugs 修复

- 修正 owner 可能会遇到 `ErrSchemaStorageTableMiss` ,并意外地重置了 changefeed 的问题 [#2457](https://github.com/pingcap/ticdc/pull/2457)
- 修正如果遇到 GcTTL 执行超市后无法删除 changefeed 的问题 [#2455](https://github.com/pingcap/ticdc/pull/2455)
- 修正下线 TiCDC 节点出现在节点列表查询中的问题 [#2447](https://github.com/pingcap/ticdc/pull/2447)
- 修复 cdc runtime 死锁问题 [#2017](https://github.com/pingcap/ticdc/pull/2017)
- 修复表调度导致的出现并发复制的问题,该情况下数据会出现不一致[#2495](https://github.com/pingcap/ticdc/pull/2495)[#2727](https://github.com/pingcap/ticdc/pull/2727)
- 修复元数据管理出现 EtcdWorker 快照隔离的问题 [#2557](https://github.com/pingcap/ticdc/pull/2557)
- 修复因为 ddl sink 导致 changefeed 不能被停止的问题 [#2556](https://github.com/pingcap/ticdc/pull/2556)
- 修复 open protocol 问题 —— 当一个事务中没有任何数据写入时候,TiCDC 产生一个空消息 [#2619](https://github.com/pingcap/ticdc/pull/2619)
- 修复处理无符号 tinyint 的 panic 问题[#2654](https://github.com/pingcap/ticdc/pull/2654)
- 修复内存压力大时 gRPC keepalive 错误 [#2718](https://github.com/pingcap/ticdc/pull/2718)
- 修复 TiCDC 坚挺太多 regions 出现的 OOM 问题 [#2723](https://github.com/pingcap/ticdc/pull/2723)
- 修复处理 json编码 panic 的问题 [#2781](https://github.com/pingcap/ticdc/pull/2781)
- 修复了在创建新的 changefeed 时可能发生的内存泄漏 [#2623](https://github.com/pingcap/ticdc/pull/2623)
- 修复 owner 重新启动时,DDL 处理的 bug [#2609](https://github.com/pingcap/ticdc/pull/2609)
- 修复在 owner 挂掉的情况下, TiCDC 复制可能丢失 DDL 问题 [#2291](https://github.com/pingcap/ticdc/pull/2291)
- 修复 runtime panic 问题 [#2298](https://github.com/pingcap/ticdc/pull/2298)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ TiDB 历史版本发布声明如下:

## 4.0

- [4.0.15](/releases/release-4.0.15.md)
- [4.0.14](/releases/release-4.0.14.md)
- [4.0.13](/releases/release-4.0.13.md)
- [4.0.12](/releases/release-4.0.12.md)
Expand Down