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

add v6.1.4 release notes #12816

Merged
merged 32 commits into from
Feb 8, 2023
Merged
Changes from 18 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8f6b6f6
Create release-6.1.4.md
hfxsd Jan 29, 2023
0123ce9
Update release-6.1.4.md
hfxsd Jan 29, 2023
32ac2e2
Update release-6.1.4.md
hfxsd Jan 29, 2023
975b920
Update release-6.1.4.md
hfxsd Jan 30, 2023
630844b
Update release-6.1.4.md
hfxsd Jan 30, 2023
f38d0a6
Apply suggestions from code review
hfxsd Jan 30, 2023
8e712a8
Apply suggestions from code review
hfxsd Feb 3, 2023
b99fad5
Update releases/release-6.1.4.md
hfxsd Feb 3, 2023
7410786
Update release-6.1.4.md
hfxsd Feb 3, 2023
0273b4d
Update releases/release-6.1.4.md
hfxsd Feb 3, 2023
c86e14d
Update release-6.1.4.md
hfxsd Feb 3, 2023
bc4d9cd
Apply suggestions from code review
hfxsd Feb 3, 2023
6643550
Update releases/release-6.1.4.md
hfxsd Feb 3, 2023
0625789
Update release-6.1.4.md
hfxsd Feb 3, 2023
ae0afab
Update releases/release-6.1.4.md
hfxsd Feb 3, 2023
b152976
Merge remote-tracking branch 'upstream/master' into add-6.1.4-release…
hfxsd Feb 3, 2023
dc6452d
Update release-6.1.4.md
hfxsd Feb 3, 2023
bd0ead4
Update releases/release-6.1.4.md
shichun-0415 Feb 3, 2023
fe9bd30
Apply suggestions from code review
TomShawn Feb 3, 2023
77465d5
Apply suggestions from code review
Oreoxmt Feb 6, 2023
7c7f464
Update releases/release-6.1.4.md
hfxsd Feb 6, 2023
00ef554
review tiflash, br, and ticdc notes
shichun-0415 Feb 6, 2023
24d1b8f
Apply suggestions from code review
ran-huang Feb 6, 2023
1ce146c
Update releases/release-6.1.4.md
ran-huang Feb 6, 2023
75dd4ca
add release dates
hfxsd Feb 6, 2023
72467b3
Update releases/release-6.1.4.md
shichun-0415 Feb 6, 2023
54a1e0b
Apply suggestions from code review
shichun-0415 Feb 6, 2023
d0c96da
bump version 6.1.4
hfxsd Feb 6, 2023
5c7c5e7
Merge branch 'add-6.1.4-release-notes' of https://github.com/hfxsd/do…
hfxsd Feb 6, 2023
16e61f0
Update releases/release-6.1.4.md
shichun-0415 Feb 6, 2023
b659029
fix space
shichun-0415 Feb 6, 2023
e9bcc45
Update releases/release-6.1.4.md
TomShawn Feb 6, 2023
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
95 changes: 95 additions & 0 deletions releases/release-6.1.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: TiDB 6.1.4 Release Notes
summary: 了解 TiDB 6.1.4 版本的新功能、兼容性变更、改进提升,以及错误修复。
---

# TiDB 6.1.4 Release Notes

发版日期:2023 年 2 月 8 日

TiDB 版本:6.1.4

试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v6.1/quick-start-with-tidb) | [生产部署](https://docs.pingcap.com/zh/tidb/v6.1/production-deployment-using-tiup) | [下载离线包](https://cn.pingcap.com/product-community/?version=v6.1.4#version-list)

## 兼容性变更

- TiDB

- 由于可能存在正确性问题,分区表目前不再支持修改列类型 [#40620](https://github.com/pingcap/tidb/issues/40620) @[mjonss](https://github.com/mjonss)

## 提升改进

- TiFlash

- 降低了在高强度的更新负载下的 IOPS 和写放大 [#6460](https://github.com/pingcap/tiflash/issues/6460) @[flowbehappy](https://github.com/flowbehappy)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

- Tools

- TiCDC

- 增加了 DML batch 操作功能,提升了跑批场景下的吞吐 [#7653](https://github.com/pingcap/tiflow/issues/7653) @[asddongmen](https://github.com/asddongmen)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- 支持将 redo log 存储至兼容 GCS 或 Azure 协议的对象存储 [#7987](https://github.com/pingcap/tiflow/issues/7987) @[CharlesCheung96](https://github.com/CharlesCheung96)

- Lightning
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

- 将 precheck 检查项 `clusterResourceCheckItem` 和 `emptyRegionCheckItem` 的严重级别从 `Critical` 改为 `Warning` [#37654](https://github.com/pingcap/tidb/issues/37654) @[niubell](https://github.com/niubell)

## Bug 修复

+ TiDB

- 修复了创建表时列的默认值和列类型不一致没有自动修正的问题 [#34881](https://github.com/pingcap/tidb/issues/34881) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger) @[mjonss](https://github.com/mjonss)
- 修复 LockKeys 函数中的 Data Race 问题 [#40355](https://github.com/pingcap/tidb/issues/40355) @[HuSharp](https://github.com/HuSharp)
- 修复 INSERT/REPLACE 语句在长连接中执行可能造成 Panic 的问题 [#40351](https://github.com/pingcap/tidb/issues/40351) @[fanrenhoo](https://github.com/fanrenhoo)
- 修复使用 "Cursor Read" 方式读取数据时可能因为 GC 而报错的问题 [#39447](https://github.com/pingcap/tidb/issues/39447)@[zyguan](https://github.com/zyguan)
- 修复 "[pessimistic-auto-commit](/tidb-configuration-file.md#pessimistic-auto-commit)" 配置项对 "Point Get" 查询不生效的问题 [#39928](https://github.com/pingcap/tidb/issues/39928)@[zyguan](https://github.com/zyguan)
- 修复查询 INFORMATION_SCHEMA.TIKV_REGION_STATUS 返回不正确结果的问题 @[zimulala](https://github.com/zimulala)
- 修复使用 `IN` 或 `NOT IN` 的子查询在某些情况下会报错 `Can't find column` 的问题 [#37032](https://github.com/pingcap/tidb/issues/37032) @[AilinKid](https://github.com/AilinKid) @[lance6716](https://github.com/lance6716)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

- PD

- 修复 PD 在特殊情况下非预期添加多个 Learner 的问题 [#5786](https://github.com/tikv/pd/issues/5786) @[HunDunDM](https://github.com/HunDunDM)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

- 修复 Gitpod 环境中存在多个 `cgroup` 和 `mountinfo` 时 TiDB 启动异常的问题 [#13660](https://github.com/tikv/tikv/issues/13660) @[tabokie](https://github.com/tabokie)
- 修复 tikv-ctl 执行 `reset-to-version` 命令时异常终止的问题 [#13829](https://github.com/tikv/tikv/issues/13829) @[tabokie](https://github.com/tabokie)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复误报 `PessimisticLockNotFound` 的问题 [#13425](https://github.com/tikv/tikv/issues/13425) @[sticnarf](https://github.com/sticnarf)
- 修复单次写入超过 2 GiB 时会发生 panic 的问题。[#13848](https://github.com/tikv/tikv/issues/13848) @[YuJuncen](https://github.com/YuJuncen)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复了悲观事务内,当 TiDB 和 TiKV 间存在网络问题时,执行语句出错后可能出现的数据一致性问题 [#14038](https://github.com/tikv/tikv/issues/14038) @[MyonKeminta](https://github.com/MyonKeminta)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复当未启用 new collation 时 `LIKE` 操作符中的 `_` 无法匹配非 ASCII 字符的问题 [#13769](https://github.com/tikv/tikv/issues/13769) @[YangKeao](https://github.com/YangKeao)

+ TiFlash

- 修复小概率情况下出现的 TiFlash 全局锁长时间阻塞的问题 [#6418](https://github.com/pingcap/tiflash/issues/6418) @[SeaRise](https://github.com/SeaRise)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- 修复在高更新负载下会可能导致 OOM 的问题 [#6407](https://github.com/pingcap/tiflash/issues/6407) @[JaySon-Huang](https://github.com/JaySon-Huang)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ Backup & Restore (BR)

- 修复在某些情况下因无法获取 region size 导致恢复失败的问题 [#36053](https://github.com/pingcap/tidb/issues/36053) @[YuJuncen](https://github.com/YuJuncen)
- 修复使用 `br debug` 命令解析 backupmeta 文件 panic 的问题.[#40878](https://github.com/pingcap/tidb/issues/40878) @[MoCuishle28](https://github.com/MoCuishle28)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved

+ TiCDC
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

- 修复在表非常多某些场景下 checkpoint 不推进问题 [#8004](https://github.com/pingcap/tiflow/issues/8004) @[asddongmen](https://github.com/asddongmen)
- 修复不能通过配置文件修改同步协议和拆分事务选项的问题 [#7935](https://github.com/pingcap/tiflow/issues/7935) @[CharlesCheung96](https://github.com/CharlesCheung96)
- 修复存在高版本 TiFlash 时,TiCDC 会误报错的问题 [#7744](https://github.com/pingcap/tiflow/issues/7744) @[overvenus](https://github.com/overvenus)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- 修复同步大事务时会出现 OOM 的问题 [#7913](https://github.com/pingcap/tiflow/issues/7913)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- 修复在没配置拆分大事务时执行 dml context 配置不合理的问题 [#7982](https://github.com/pingcap/tiflow/issues/7982) @[asddongmen](https://github.com/asddongmen)
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- 修复 `changefeed query` 的输出中 `sasl-password` 显示为明文的问题 [#7182](https://github.com/pingcap/tiflow/issues/7182) @[dveeden](https://github.com/dveeden)
- 修复用户快速删除、创建同名同步任务可能导致的数据丢失问题 [#7657](https://github.com/pingcap/tiflow/issues/7657) @[overvenus](https://github.com/overvenus)

+ TiDB Data Migration (DM)

- 修复当 `SHOW GRANTS` 结果的数据库名包含 "*" 时导致 precheck 报错的问题 [#7645](https://github.com/pingcap/tiflow/issues/7645) @[lance6716]
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
- 修复当 `SHOW GRANTS` 结果的数据库名包含 "*" 时导致 precheck 报错的问题 [#7645](https://github.com/pingcap/tiflow/issues/7645) @[lance6716]
- 修复当 `SHOW GRANTS` 结果中的下游数据库名包含通配符 (“*”) 时 precheck 报错的问题 [#7645](https://github.com/pingcap/tiflow/issues/7645) @[lance6716]

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复 DM 因 binlog 中 query event 为 COMMIT 时打印过多日志的问题 [#7525](https://github.com/pingcap/tiflow/issues/7525) @[liumengya94]
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复当 SSL 参数仅指定 `ssl-ca` 时 DM 任务无法启动的问题 [#7941](https://github.com/pingcap/tiflow/issues/7941) @[liumengya94]
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复当在某个表上同时指定 `update` 和 `non-update` 类型的 expression filters 时, 导致所有 UPDATE 被跳过的问题 [#7831](https://github.com/pingcap/tiflow/issues/7831) @[lance6716]
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
- 修复当在某个表上同时指定 `update` 和 `non-update` 类型的 expression filters 时, 导致所有 UPDATE 被跳过的问题 [#7831](https://github.com/pingcap/tiflow/issues/7831) @[lance6716]
- 修复当在某个表上同时指定 `update` 和 `non-update` 类型的 expression filters 时,所有 UPDATE 被跳过的问题 [#7831](https://github.com/pingcap/tiflow/issues/7831) @[lance6716]

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复当某个表上仅指定 `update-old-value-expr` 或 `update-new-value-expr` 时不生效或导致 panic 的问题 [#7774](https://github.com/pingcap/tiflow/issues/7774) @[lance6716]
hfxsd 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
- 修复当某个表上仅指定 `update-old-value-expr` 或 `update-new-value-expr` 时不生效或导致 panic 的问题 [#7774](https://github.com/pingcap/tiflow/issues/7774) @[lance6716]
- 修复当某个表上仅指定 `update-old-value-expr` 或 `update-new-value-expr` 时,过滤不生效或 DM 发生 panic 的问题 [#7774](https://github.com/pingcap/tiflow/issues/7774) @[lance6716]

ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Lightning
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

- 修复源文件过大时可能导致内存泄漏的问题 [#39331](https://github.com/pingcap/tidb/issues/39331) @[dsdashun](https://github.com/dsdashun)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复 precheck 检查项有时无法监测到之前的导入失败遗留的脏数据的问题 [#39477](https://github.com/pingcap/tidb/issues/39477) @[dsdashun](https://github.com/dsdashun)