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 release note for v6.5.8 #16373

Merged
merged 29 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d54f018
add release note for v6.5.8
Oreoxmt Jan 25, 2024
f9816ce
Apply suggestions from code review
flowbehappy Jan 25, 2024
217405f
Apply suggestions from code review
flowbehappy Jan 25, 2024
0c462a8
add TiDB Lightning
Oreoxmt Jan 29, 2024
b887e1b
add BR
Oreoxmt Jan 29, 2024
2b4b997
add TiDB
Oreoxmt Jan 29, 2024
671556d
add TiFlash
Oreoxmt Jan 29, 2024
93708ca
remove duplicate note
Oreoxmt Jan 29, 2024
da29938
add PD and TiDB
Oreoxmt Jan 30, 2024
c162938
fix format
Oreoxmt Jan 30, 2024
06b3aba
remove dup notes, move gc.num-threads to compatibility changes
Oreoxmt Jan 30, 2024
8ada7ab
add TW ID
Oreoxmt Jan 30, 2024
599b3bf
Apply suggestions from code review
flowbehappy Jan 30, 2024
c020081
add sql-infra
Oreoxmt Jan 30, 2024
4d1e8dd
update TiDB part
Oreoxmt Jan 30, 2024
d3ea67a
fix link
Oreoxmt Jan 30, 2024
3f95183
fix link
Oreoxmt Jan 30, 2024
cbda87b
add planner
Oreoxmt Jan 30, 2024
d5921de
Update releases/release-6.5.8.md
D3Hunter Jan 31, 2024
372a886
Apply suggestions from code review
hfxsd Jan 31, 2024
67b2653
Update releases/release-6.5.8.md
D3Hunter Jan 31, 2024
7d5ac0a
Apply suggestions from code review
qiancai Jan 31, 2024
e540446
Apply suggestions from code review
Oreoxmt Jan 31, 2024
a483e30
Apply suggestions from code review
hfxsd Jan 31, 2024
af6bce4
Update releases/release-6.5.8.md
qiancai Feb 1, 2024
43112dc
Apply suggestions from code review
ran-huang Feb 1, 2024
4352de7
Apply suggestions from code review
ran-huang Feb 1, 2024
9b5cfd4
remove dup note and tw id
Oreoxmt Feb 1, 2024
ad1b989
update TOC.md, release-notes.md, and release-timeline.md
Oreoxmt Feb 1, 2024
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
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,7 @@
- v6.6
- [6.6.0-DMR](/releases/release-6.6.0.md)
- v6.5
- [6.5.8](/releases/release-6.5.8.md)
- [6.5.7](/releases/release-6.5.7.md)
- [6.5.6](/releases/release-6.5.6.md)
- [6.5.5](/releases/release-6.5.5.md)
Expand Down
91 changes: 91 additions & 0 deletions releases/release-6.5.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
title: TiDB 6.5.8 Release Notes
summary: 了解 TiDB 6.5.8 版本的兼容性变更、改进提升,以及错误修复。
---

# TiDB 6.5.8 Release Notes

发版日期:2024 年 2 月 2 日

TiDB 版本:6.5.8

试用链接:[快速体验](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.8#version-list)

## 兼容性变更

- 新增 TiKV 配置项 [`gc.num-threads`](https://docs.pingcap.com/zh/tidb/v6.5/tikv-configuration-file#num-threads-从-v658-版本开始引入),用于设置当 `enable-compaction-filter` 为 `false` 时 GC 的线程个数 [#16101](https://github.com/tikv/tikv/issues/16101) @[tonyxuqqi](https://github.com/tonyxuqqi)

## 改进提升

+ TiFlash

- 减少后台数据 GC 任务对读、写任务延迟的影响 [#8650](https://github.com/pingcap/tiflash/issues/8650) @[JaySon-Huang](https://github.com/JaySon-Huang)

+ Tools

+ TiCDC

- 支持[查询 changefeed 的下游同步状态](https://docs.pingcap.com/zh/tidb/v6.5/ticdc-open-api-v2#查询特定同步任务是否完成),以确认 TiCDC 是否已将所接收到的上游变更完全同步到下游 [#10289](https://github.com/pingcap/tiflow/issues/10289) @[hongyunyan](https://github.com/hongyunyan)

+ TiDB Lightning

- 优化导入大量数据量较小的表时的性能 [#50105](https://github.com/pingcap/tidb/issues/50105) @[D3Hunter](https://github.com/D3Hunter)

## 错误修复

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

- 修复当查询使用了会强制排序的优化器 hint(例如 `STREAM_AGG()`)且其执行计划包含 `IndexMerge` 时,强制排序可能会失效的问题 [#49605](https://github.com/pingcap/tidb/issues/49605) @[AilinKid](https://github.com/AilinKid)
- 修复直方图的边界包含 `NULL` 时,直方图统计信息可能无法解析成可读字符串的问题 [#49823](https://github.com/pingcap/tidb/issues/49823) @[AilinKid](https://github.com/AilinKid)
- 修复无法在 `REPLACE INTO` 语句中使用 hint 的问题 [#34325](https://github.com/pingcap/tidb/issues/34325) @[YangKeao](https://github.com/YangKeao)
- 修复由于 `STREAM_AGG()` 错误处理 CI 导致查询结果有误的问题 [#49902](https://github.com/pingcap/tidb/issues/49902) @[wshwsh12](https://github.com/wshwsh12)
- 修复某些情况下,由于错误的分区裁剪导致查询 Range Partition 的结果不正确的问题 [#50082](https://github.com/pingcap/tidb/issues/49823) @[Defined2014](https://github.com/Defined2014)
- 修复使用 `AUTO_ID_CACHE=1` 的自增列时,由于并发冲突导致自增 ID 分配报错的问题 [#50519](https://github.com/pingcap/tidb/issues/50519) @[tiancaiamao](https://github.com/tiancaiamao)
- 缓解当要处理的表的数量或表的分区数量过多时,TiDB 节点 OOM 的问题 [#50077](https://github.com/pingcap/tidb/issues/50077) @[zimulala](https://github.com/zimulala)
- 修复在分布式框架下,DDL Owner 网络隔离后执行 `ADD INDEX` 操作导致数据不一致的问题 [#49773](https://github.com/pingcap/tidb/issues/49773) @[tangenta](https://github.com/tangenta)
- 修复包含 Apply 操作的查询在报错 `fatal error: concurrent map writes` 后导致 TiDB 崩溃的问题 [#50347](https://github.com/pingcap/tidb/issues/50347) @[SeaRise](https://github.com/SeaRise)
- 修复通过 `COM_STMT_EXECUTE` 方式执行的 `COMMIT` 或 `ROLLBACK` 操作无法结束已超时事务的问题 [#49151](https://github.com/pingcap/tidb/issues/49151) @[zyguan](https://github.com/zyguan)
- 修复使用 `PREPARE` 方式执行 `SELECT INTO OUTFILE` 语句时,应报错却返回执行成功的问题 [#49166](https://github.com/pingcap/tidb/issues/49166) @[qw4990](https://github.com/qw4990)
- 修复执行包含 `ORDER BY` 的 `UNIQUE` 索引点查时可能报错的问题 [#49920](https://github.com/pingcap/tidb/issues/49920) @[jackysp](https://github.com/jackysp)
- 修复开启 `tidb_multi_statement_mode` 模式时,使用索引点查的 `DELETE` 和 `UPDATE` 语句可能会报错的问题 [#50012](https://github.com/pingcap/tidb/issues/50012) @[tangenta](https://github.com/tangenta)
- 修复在短时间内执行大量 `CREATE TABLE` 语句时,TiDB 可能不会同步建立这些表的新统计信息元信息的问题 [#36004](https://github.com/pingcap/tidb/issues/36004) @[xuyifangreeneyes](https://github.com/xuyifangreeneyes)
- 修复 `LEADING` hint 在 `UNION ALL` 语句中无法生效的问题 [#50067](https://github.com/pingcap/tidb/issues/50067) @[hawkingrei](https://github.com/hawkingrei)
- 修复使用旧接口导致表的元信息可能不一致的问题 [#49751](https://github.com/pingcap/tidb/issues/49751) @[hawkingrei](https://github.com/hawkingrei)
- 修复常见 hint 在 `UNION ALL` 语句中未生效的问题 [#50068](https://github.com/pingcap/tidb/issues/50068) @[hawkingrei](https://github.com/hawkingrei)
- 修复常量传播在处理 `ENUM` 或 `SET` 类型时结果出错的问题 [#49440](https://github.com/pingcap/tidb/issues/49440) @[winoros](https://github.com/winoros)

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

- 修复 gRPC threads 在检查 `is_shutdown` 时可能出现 panic 的问题 [#16236](https://github.com/tikv/tikv/issues/16236) @[pingyu](https://github.com/pingyu)
- 修复巴西和埃及时区转换错误的问题 [#16220](https://github.com/tikv/tikv/issues/16220) @[overvenus](https://github.com/overvenus)
- 修复 TiDB 和 TiKV 处理 `DECIMAL` 算术乘法截断时结果不一致的问题 [#16268](https://github.com/tikv/tikv/issues/16268) @[solotzg](https://github.com/solotzg)

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

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复使用 `pd-ctl` 查询没有 Leader 的 Region 时可能导致 PD panic 的问题 [#7630](https://github.com/tikv/pd/issues/7630) @[rleungx](https://github.com/rleungx)

+ TiFlash

- 修复 lowerUTF8/upperUTF8 不允许大小写字符占据不同字节数的错误 [#8484](https://github.com/pingcap/tiflash/issues/8484) @[gengliqi](https://github.com/gengliqi)
- 修复在执行 `ALTER TABLE ... MODIFY COLUMN ... NOT NULL` 时,将原本可为空的列修改为不可为空之后,导致 TiFlash panic 的问题 [#8419](https://github.com/pingcap/tiflash/issues/8419) @[JaySon-Huang](https://github.com/JaySon-Huang)
- 修复终止查询后 TiFlash 上大量任务被同时取消,由于并发数据冲突导致 TiFlash 崩溃的问题 [#7432](https://github.com/pingcap/tiflash/issues/7432) @[SeaRise](https://github.com/SeaRise)

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

+ Backup & Restore (BR)

- 修复从旧版本的备份恢复数据时报错 `Unsupported collation` 的问题 [#49466](https://github.com/pingcap/tidb/issues/49466) @[3pointer](https://github.com/3pointer)
- 修复从 S3 读文件内容时出错后无法重试的问题 [#49942](https://github.com/pingcap/tidb/issues/49942) @[Leavrth](https://github.com/Leavrth)
- 修复在同一节点上更改 TiKV IP 地址导致日志备份卡住的问题 [#50445](https://github.com/pingcap/tidb/issues/50445) @[3pointer](https://github.com/3pointer)

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

- 修复在 `ignore-event` 中设置了过滤掉 `add table partition` 事件后,TiCDC 未将相关分区的其它类型 DML 变更事件同步到下游的问题 [#10524](https://github.com/pingcap/tiflow/issues/10524) @[CharlesCheung96](https://github.com/CharlesCheung96)
- 修复上游表执行了 `TRUNCATE PARTITION` 后 changefeed 报错的问题 [#10522](https://github.com/pingcap/tiflow/issues/10522) @[sdojjy](https://github.com/sdojjy)
- 修复在极端情况下 changefeed 的 `resolved ts` 不推进的问题 [#10157](https://github.com/pingcap/tiflow/issues/10157) @[sdojjy](https://github.com/sdojjy)
- 修复并发创建多个 changefeed 时 TiCDC 返回 `ErrChangeFeedAlreadyExists` 错误的问题 [#10430](https://github.com/pingcap/tiflow/issues/10430) @[CharlesCheung96](https://github.com/CharlesCheung96)

+ TiDB Lightning

- 修复 EBS BR 运行时 TiDB Lightning 可能导入失败的问题 [#49517](https://github.com/pingcap/tidb/issues/49517) @[mittalrishabh](https://github.com/mittalrishabh)
- 修复 TiDB Lightning 分批 ingest 时数据可能丢失的问题 [#50198](https://github.com/pingcap/tidb/issues/50198) @[D3Hunter](https://github.com/D3Hunter)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ TiDB 历史版本发布声明如下:

## 6.5

- [6.5.8](/releases/release-6.5.8.md): 2024-02-02
- [6.5.7](/releases/release-6.5.7.md): 2024-01-08
- [6.5.6](/releases/release-6.5.6.md): 2023-12-07
- [6.5.5](/releases/release-6.5.5.md): 2023-09-21
Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ summary: 了解 TiDB 的版本发布时间线。

| 版本 | 发布日期 |
| :--- | :--- |
| [6.5.8](/releases/release-6.5.8.md) | 2024-02-02 |
| [7.6.0-DMR](/releases/release-7.6.0.md) | 2024-01-25 |
| [6.5.7](/releases/release-6.5.7.md) | 2024-01-08 |
| [7.1.3](/releases/release-7.1.3.md) | 2023-12-21 |
Expand Down
Loading