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.5.3 release notes #14168

Merged
merged 36 commits into from
Jun 14, 2023
Merged
Changes from 15 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
ebef4a6
add release note template
ran-huang Jun 6, 2023
403aae6
Apply suggestions from code review
ran-huang Jun 7, 2023
2142bf5
Update releases/release-6.5.3.md
ran-huang Jun 8, 2023
bc505c8
Update releases/release-6.5.3.md
ran-huang Jun 8, 2023
7c28165
Update releases/release-6.5.3.md
D3Hunter Jun 9, 2023
f72bcae
Update releases/release-6.5.3.md
D3Hunter Jun 9, 2023
6d253ee
Update releases/release-6.5.3.md
ran-huang Jun 9, 2023
94e5d36
pull -> issue
ran-huang Jun 9, 2023
3d0ce15
label dup notes
ran-huang Jun 9, 2023
a55a962
add tw
ran-huang Jun 9, 2023
ce98d24
Update releases/release-6.5.3.md
ran-huang Jun 9, 2023
1f65310
Apply suggestions from code review
ran-huang Jun 9, 2023
008dc91
dup ticdc notes
ran-huang Jun 9, 2023
daf17a8
dup transaction notes
ran-huang Jun 9, 2023
4cf6d32
Apply suggestions from code review
ran-huang Jun 9, 2023
420828d
Update releases/release-6.5.3.md
ran-huang Jun 9, 2023
75de186
Apply suggestions from code review
ran-huang Jun 9, 2023
94d69af
Apply suggestions from code review
hfxsd Jun 12, 2023
0f31157
Update releases/release-6.5.3.md
hfxsd Jun 12, 2023
65938c3
Apply suggestions from code review
hfxsd Jun 12, 2023
4ce92d1
Update releases/release-6.5.3.md
hfxsd Jun 12, 2023
0ce951d
Apply suggestions from code review
ran-huang Jun 12, 2023
90a0a91
update TiDB part
Oreoxmt Jun 12, 2023
5c75934
fix format and remove dup
Oreoxmt Jun 12, 2023
4541003
Apply suggestions from code review
ran-huang Jun 12, 2023
dc6ea57
Apply suggestions from code review
ran-huang Jun 12, 2023
f4006fe
Apply suggestions from code review
qiancai Jun 12, 2023
081d0b8
Apply suggestions from code review
ran-huang Jun 12, 2023
5841d05
fix format
ran-huang Jun 12, 2023
fd59576
Apply suggestions from code review
hfxsd Jun 12, 2023
2fe0fce
Apply suggestions from code review
qiancai Jun 12, 2023
0360177
Apply suggestions from code review
Oreoxmt Jun 12, 2023
8367b46
Update releases/release-6.5.3.md
qiancai Jun 13, 2023
0c1d009
move four notes to ## Improvements
qiancai Jun 13, 2023
d89184c
Apply suggestions from code review
Oreoxmt Jun 14, 2023
8ff8a28
cleanup; update toc and other release files
ran-huang Jun 14, 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
170 changes: 170 additions & 0 deletions releases/release-6.5.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
---
title: TiDB 6.5.3 Release Notes
summary: 了解 TiDB 6.5.3 版本的兼容性变更、改进提升,以及错误修复。
---

# TiDB 6.5.3 Release Notes

发版日期:2023 年 x 月 x 日

TiDB 版本:6.5.3

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

## 兼容性变更

- note 1

## 改进提升

+ TiDB

<!--tw:ran-huang-->
- 提升了 TRUNCATE 分区表(带放置规则)操作的速度。[#43070](https://github.com/pingcap/tidb/issues/43070) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger)
- 在 resolve lock 之后避免 stale-read 的无效重试。[#43659](https://github.com/pingcap/tidb/issues/43659) @[you06](https://github.com/you06)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.5.2.md > 改进提升> TiDB)- 优化带 Limit 的 Range 类型分区表的 `distsql_concurrency` 设置以降低查询延迟 [#41480](https://github.com/pingcap/tidb/issues/41480) @[you06](https://github.com/you06) @[you06](https://github.com/you06)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
+ TiKV

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

+ PD

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

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
+ TiFlash

- note 1

+ Tools

+ Backup & Restore (BR)

- note 1

+ TiCDC

- note 1
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

qiancai marked this conversation as resolved.
Show resolved Hide resolved
+ TiDB Data Migration (DM)

- note 1

+ TiDB Lightning

- note 1

+ Dumpling

- note 1

qiancai marked this conversation as resolved.
Show resolved Hide resolved
## 错误修复

+ TiDB

<!--tw:ran-huang-->
- 修复一个 min, max 查询结果出错的问题 [#43805](https://github.com/pingcap/tidb/issues/43805) @[wshwsh12](https://github.com/wshwsh12)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复一个窗口函数计算下推到 tiflash 时执行计划构造错误的问题 [#43981](https://github.com/pingcap/tidb/issues/43981) @[gengliqi](https://github.com/gengliqi)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
- 修复一个使用 CTE 的查询 hang 住的问题 [#43758](https://github.com/pingcap/tidb/issues/43758) @[guo-shaoge](https://github.com/guo-shaoge)
- 修复一个使用 AES_DECRYPT 表达时,sql 报错 runtime error: index out of range 的问题 [#43086](https://github.com/pingcap/tidb/issues/43086) @[lcwangchao](https://github.com/lcwangchao)
- 修复 show processlist 无法显示子查询时间较长语句的事务的 start ts 的问题。[#40851](https://github.com/pingcap/tidb/issues/40851) @[crazycs520](https://github.com/crazycs520)
- 修复 PD 隔离有可能导致运行的 DDL 阻塞的问题。 [#44014](https://github.com/pingcap/tidb/issues/44014), [#43755](https://github.com/pingcap/tidb/issues/43755), [#44267]https://github.com/pingcap/tidb/issues/44267) @[wjhuang2016](https://github.com/wjhuang2016)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复使用 `UNION` 查询联合视图和临时表时 TiDB panic 的问题 [#42563](https://github.com/pingcap/tidb/issues/42563) @[lcwangchao](https://github.com/lcwangchao)
- 修复放置规则在分区表下的一些行为,使得删除的分区放置规则被正确设置以及回收 [#44116](https://github.com/pingcap/tidb/issues/44116) @[lcwangchao](https://github.com/lcwangchao)
- 修复了在 TRUNCATE 分区表的某个分区时可能造成分区的放置规则失效的问题 [#44031](https://github.com/pingcap/tidb/issues/44031) @[lcwangchao](https://github.com/lcwangchao)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复在重命名表期间 TiCDC 可能丢失部分行变更的问题 [#43338](https://github.com/pingcap/tidb/issues/43338) @[tangenta](https://github.com/tangenta)
- 修复使用 BR 导入表后 DDL 作业历史记录丢失的问题 [#43725](https://github.com/pingcap/tidb/issues/43725) @[tangenta](https://github.com/tangenta)
(dup: release-6.5.2.md > 错误修复> TiDB)- 修复在使用 Cursor Fetch 且在 Execute、Fetch、Close 之间运行其它语句后,Fetch 与 Close 命令可能会返回错误结果或造成 TiDB Panic 的问题 [#40094](https://github.com/pingcap/tidb/issues/40094) @[YangKeao](https://github.com/YangKeao)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-6.6.0.md > 错误修复> TiDB)- 修复了 `JSON_OBJECT` 在某些情况下会报错的问题 [#39806](https://github.com/pingcap/tidb/issues/39806) @[YangKeao](https://github.com/YangKeao)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复 IPv6 环境下的集群无法查询部分系统视图的问题 [#43286](https://github.com/pingcap/tidb/issues/43286) @[Defined2014](https://github.com/Defined2014) ,@[nexustar](https://github.com/nexustar)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复当 PD 成员地址发生变化时,为 `AUTO_INCREMENT` 列分配 ID 会被长时间阻塞的问题 [#42643](https://github.com/pingcap/tidb/issues/42643) @[tiancaiamao](https://github.com/tiancaiamao)
<!--tw:oreoxmt-->
- 修复了放置规则回收时,TiDB 向 PD 发送重复请求,造成 PD 侧大量 "full config reset" 日志打印的问题 [#33069](https://github.com/pingcap/tidb/issues/33069) @[tiancaiamao](https://github.com/tiancaiamao)
(dup: release-6.6.0.md > 错误修复> TiDB)- 修复了 `SHOW PRIVILEGES` 命令显示的权限列表不完整的问题 [#40591](https://github.com/pingcap/tidb/issues/40591) @[CbcWestwolf](https://github.com/CbcWestwolf)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复 `ADMIN SHOW DDL JOBS LIMIT` 返回错误结果的问题 [#42298](https://github.com/pingcap/tidb/issues/42298) @[CbcWestwolf](https://github.com/CbcWestwolf)
- 修复在开启密码强度校验时对 tidb_auth_token 用户进行校验的问题 [#44098](https://github.com/pingcap/tidb/issues/44098) @[CbcWestwolf](https://github.com/CbcWestwolf)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复动态裁剪模式下内连接表时找不到分区的问题 [#43686](https://github.com/pingcap/tidb/issues/43686) @[mjonss](https://github.com/mjonss)
- 修复了在分区表上执行 modify column 时输出 truncate data 相关 warning 的问题。[#41118](https://github.com/pingcap/tidb/issues/41118) @[mjonss](https://github.com/mjonss)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复 IPv6 环境下显示错误的 TiDB 地址的问题 [#43260](https://github.com/pingcap/tidb/issues/43260) @[nexustar](https://github.com/nexustar)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复在谓词下推的情况下 CTE 结果错误的问题 [#43645](https://github.com/pingcap/tidb/issues/43645) @[winoros](https://github.com/winoros)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复动态裁剪模式下内连接表时找不到分区的问题 [#43686](https://github.com/pingcap/tidb/issues/43686) @[mjonss](https://github.com/mjonss) @[AilinKid](https://github.com/AilinKid)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复了 CTE 被用在 non-correlated 子查询时可能出现错误结果的问题。[#44051](https://github.com/pingcap/tidb/issues/44051) @[winoros](https://github.com/winoros)
- 修复了 join reorder 可能会造成 outer join 结果错误的问题。[#44314](https://github.com/pingcap/tidb/issues/44314) @[AilinKid](https://github.com/AilinKid)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复在一些极端情况下,悲观事务的第一条语句发生重试时,对该事务进行 resolve lock 可能影响事务正确性的问题 [#42937](https://github.com/pingcap/tidb/issues/42937) @[MyonKeminta](https://github.com/MyonKeminta)
(dup: release-7.1.0.md > 错误修复> TiDB)- 修复在一些罕见的情况下,悲观事务的残留悲观锁在 GC resolve lock 时可能影响数据正确性的问题 [#43243](https://github.com/pingcap/tidb/issues/43243) @[MyonKeminta](https://github.com/MyonKeminta)
(dup: release-6.5.1.md > 错误修复> TiDB)- 修复了 `batch cop` 在执行过程中的 scan detail 信息不准确的问题 [#41582](https://github.com/pingcap/tidb/issues/41582) @[you06](https://github.com/you06)
- 为 stale-read 增加了命中和流量的指标。 [#43325](https://github.com/pingcap/tidb/issues/43325) @[you06](https://github.com/you06)
- 修复了在同时使用 stale-read 和 prepare 语句时无法读取到数据更新的问题。 [#43044](https://github.com/pingcap/tidb/issues/43044) @[you06](https://github.com/you06)
- 修复了在 load data 语句中可能误报 assertion 错误的问题。[#43849](https://github.com/pingcap/tidb/issues/43849) @[you06](https://github.com/you06)
- 修复了使用 stale-read 时,coprocessor 在遇到 data-is-not-ready 的情况下不能 fallback 到 leader 的问题。 [#43365](https://github.com/pingcap/tidb/issues/43365) @[you06](https://github.com/you06)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

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

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

+ PD

- note 1

+ TiFlash

<!--tw:hfxsd-->
- 修复一个分区表查询报错的问题 [#7519](https://github.com/pingcap/tiflash/issues/7519) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 修复在表字段同时存在 TIMESTAMP 或者 TIME 类型和 GENERATED 类型情况下,查询 TiFlash 可能会报错的问题 [#7468](https://github.com/pingcap/tiflash/issues/7468) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> TiFlash)- 修复大的更新事务可能会导致 TiFlash 反复报错重启的问题 [#7316](https://github.com/pingcap/tiflash/issues/7316) @[JaySon-Huang](https://github.com/JaySon-Huang)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 修复一个 insert select 语句从 tiflash 读取数据时,sql 报错 Truncate error cast decimal as decimal 的问题 [#7348](https://github.com/pingcap/tiflash/issues/7348) @[windtalker](https://github.com/windtalker)
- 修复查询在 Join build 侧数据非常大,且包含许多小型字符串类型列时,可能会使用比实际需要更大的内存的问题。 [#7416](https://github.com/pingcap/tiflash/issues/7416) @[yibin87](https://github.com/yibin87)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

+ Tools

+ Backup & Restore (BR)

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

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

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
<!--tw:hfxsd-->
- 修复在表数量特别多场景下可能出现的 OOM 问题。[#7872](https://github.com/pingcap/tiflow/issues/7872)
- 优化 TiCDC 对 DDL 的处理方式,使 DDL 不阻塞住其他无关的 DML event 的使用,同时减少内存的使用。[#8106](https://github.com/pingcap/tiflow/issues/8106)
- 修复在表数量特别多(10k)场景下可能出现的 Panic 问题。[#8863](https://github.com/pingcap/tiflow/issues/8863)
- 修复TiCDC 在上游 TiDB 发生 OOM 时卡住的问题。[#8561](https://github.com/pingcap/tiflow/issues/8561)
- 修复 PD 出现网络隔离、PD owner 节点重启等故障时 CDC 卡住问题。[#8808](https://github.com/pingcap/tiflow/issues/8808)[#8812](https://github.com/pingcap/tiflow/issues/8812)[#8877](https://github.com/pingcap/tiflow/issues/8877)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> Tools> TiCDC)- 修复 TiCDC 的时区设置问题 [#8798](https://github.com/pingcap/tiflow/issues/8798) @[hi-rustin](https://github.com/hi-rustin)
(dup: release-7.1.0.md > 错误修复> Tools> TiCDC)- 修复上游 TiKV 节点 crash 时 checkpoint lag 上升的问题 [#8858](https://github.com/pingcap/tiflow/issues/8858) @[hicqu](https://github.com/hicqu)
(dup: release-7.1.0.md > 改进提升> Tools> TiCDC)- 优化同步数据到对象存储的场景下发生 DDL 事件时的目录结构 [#8890](https://github.com/pingcap/tiflow/issues/8890) @[CharlesCheung96](https://github.com/CharlesCheung96)
(dup: release-7.1.0.md > 改进提升> Tools> TiCDC)- 支持同步到 Kafka-on-Pulsar 下游 [#8892](https://github.com/pingcap/tiflow/issues/8892) @[hi-rustin](https://github.com/hi-rustin)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
<!--tw:qiancai-->
- 修复同步到 mysql 场景下,上游执行 flashback 命令出现的问题 [#8040](https://github.com/pingcap/tiflow/issues/8040)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
qiancai marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> Tools> TiCDC)- 修复当同步数据到对象存储时上游的 `EXCHANGE PARTITION` 操作没有正常同步到下游的问题 [#8914](https://github.com/pingcap/tiflow/issues/8914) @[CharlesCheung96](https://github.com/CharlesCheung96)
(dup: release-7.1.0.md > 改进提升> Tools> TiCDC)- 增加一个配置项 `insecure-skip-verify`,控制在同步数据到 Kafka 的场景下启用 TLS 时是否设置认证算法 [#8867](https://github.com/pingcap/tiflow/issues/8867) @[hi-rustin](https://github.com/hi-rustin)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> Tools> TiCDC)- 修复在某些特殊场景下 sorter 组件内存使用过多导致 OOM 的问题 [#8974](https://github.com/pingcap/tiflow/issues/8974) @[hicqu](https://github.com/hicqu)
(dup: release-7.1.0.md > # 稳定性)* TiCDC 优化 DDL 同步操作 [#8686](https://github.com/pingcap/tiflow/issues/8686) @[hi-rustin](https://github.com/hi-rustin)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复下游时 Kafka 场景下,TiCDC 查询下游元信息频率过高导致下游负载过大的问题。[#8957](https://github.com/pingcap/tiflow/issues/8957)[#8959](https://github.com/pingcap/tiflow/issues/8959)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- 修复同步 Kafka 消息过大出错时,在 Log 中记录了消息体的问题 [#9031](https://github.com/pingcap/tiflow/issues/9031)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 改进提升> Tools> TiCDC)- 优化 TiCDC 在同步任务失败时对上游 GC TLS 的设置方法 [#8403](https://github.com/pingcap/tiflow/issues/8403) @[charleszheng44](https://github.com/charleszheng44)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
(dup: release-7.1.0.md > 错误修复> Tools> TiCDC)- 修复下游 Kafka 滚动重启时 TiCDC 节点发生 panic 的问题 [#9023](https://github.com/pingcap/tiflow/issues/9023) @[asddongmen](https://github.com/asddongmen)
- 修复同步到云对象存储时,在下游 DDL 对应的 json 文件中没有记录表中字段的默认值问题. [#9066](https://github.com/pingcap/tiflow/issues/9066)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- 优化同步到 Kafka 场景下,支持 oauth 协议验证方式. [#8865](https://github.com/pingcap/tiflow/issues/8865)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- 优化采用 Avro 或 CSV 协议同步时,对 update 的处理方式,即拆分为 delete + insert ,用户可以获取 old value。[#9086](https://github.com/pingcap/tiflow/issues/9086)
qiancai marked this conversation as resolved.
Show resolved Hide resolved

- note 1

+ TiDB Data Migration (DM)

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

+ TiDB Lightning

(dup: release-7.1.0.md > 错误修复> Tools> TiDB Lightning)- 修复宽表导入时可能出现 OOM 的问题 [#43728](https://github.com/pingcap/tidb/issues/43728) @[D3Hunter](https://github.com/D3Hunter)
(dup: release-7.1.0.md > 错误修复> Tools> TiDB Lightning)- 修复大数据量导入时报 `write to tikv with no leader returned` 错误的问题 [#43055](https://github.com/pingcap/tidb/issues/43055) @[lance6716](https://github.com/lance6716)
(dup: release-6.6.0.md > 错误修复> Tools> TiDB Lightning)- 修复当数据文件中存在未闭合的 delimiter 时可能 OOM 的问题 [#40400](https://github.com/pingcap/tidb/issues/40400) @[buchuitoudegou](https://github.com/buchuitoudegou) @[lance6716](https://github.com/lance6716)
(dup: release-7.1.0.md > 改进提升> Tools> TiDB Lightning)- 在导入数据期间遇到 `unknown RPC` 错误时,增加了重试机制 [#43291](https://github.com/pingcap/tidb/issues/43291) @[D3Hunter](https://github.com/D3Hunter)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

+ Dumpling

- note 1
D3Hunter marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Binlog
<!--tw:qiancai-->
- 优化 table info 获取方式,降低 drainer 初始化时间和内存占用 [#1137](https://github.com/pingcap/tidb-binlog/issues/1137) @[lichunzhu](https://github.com/lichunzhu)
qiancai marked this conversation as resolved.
Show resolved Hide resolved
- 修复遇到状态为 CANCELED 的 DDL 时报错的问题 [#1228](https://github.com/pingcap/tidb-binlog/issues/1228) @[okJiang](https://github.com/okJiang)
qiancai marked this conversation as resolved.
Show resolved Hide resolved