-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: yinsustart <yinsu@pingcap.com> Co-authored-by: ekexium <eke@fastmail.com> Co-authored-by: JmPotato <github@ipotato.me> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com> Co-authored-by: Bisheng Huang <hbisheng@gmail.com> Co-authored-by: wjHuang <huangwenjun1997@gmail.com> Co-authored-by: Yiding Cui <winoros@gmail.com> Co-authored-by: Grace Cai <qqzczy@126.com> Co-authored-by: xixirangrang <hfxsd@hotmail.com> Co-authored-by: Flowyi <flowbehappy@gmail.com> Co-authored-by: Rossi Sun <zanmato1984@gmail.com> Co-authored-by: Aolin <aolinz@outlook.com> Co-authored-by: Aolin <aolin.zhang@pingcap.com> Co-authored-by: Lilian Lee <lilin@pingcap.com>
- Loading branch information
1 parent
c340f81
commit 11d1914
Showing
6 changed files
with
112 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
title: TiDB 8.5.1 Release Notes | ||
summary: 了解 TiDB 8.5.1 版本的操作系统支持变更、改进提升,以及错误修复。 | ||
--- | ||
|
||
# TiDB 8.5.1 Release Notes | ||
|
||
发版日期:2025 年 1 月 17 日 | ||
|
||
TiDB 版本:8.5.1 | ||
|
||
试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v8.5/quick-start-with-tidb) | [生产部署](https://docs.pingcap.com/zh/tidb/v8.5/production-deployment-using-tiup) | [下载离线包](https://cn.pingcap.com/product-community/?version=v8.5.1#version-list) | ||
|
||
## 操作系统支持变更 | ||
|
||
从 v8.5.1 起,TiDB 重新适配并兼容 CentOS Linux 7。如果你需要在 CentOS 7 上部署 TiDB v8.5 版本或将集群升级到 TiDB v8.5 版本,请部署或升级至 TiDB v8.5.1 或以上版本。 | ||
|
||
- 因为 CentOS Linux 7 [已于 2024 年 6 月 30 日到达其生命周期的终止 (EOL) 日期](https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol),TiDB 在 v8.4.0 DMR 和 v8.5.0 版本中移除了对 CentOS 7 的兼容性支持,建议使用 Rocky Linux 9.1 及以上的版本。如果在使用 CentOS Linux 7 的情况下将 TiDB 升级到 v8.4.0 DMR 或 v8.5.0 版本,将导致集群不可用的风险。 | ||
- 为了更好地服务仍在使用 CentOS Linux 7 的用户,TiDB 从 v8.5.1 版本起恢复了对 CentOS Linux 7 的兼容性测试和支持。然而,由于 CentOS Linux 7 已到达 EOL,强烈建议用户参考该系统的[官方声明和安全建议](https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol),将生产环境迁移到 [TiDB 支持的操作系统版本](/hardware-and-software-requirements.md#操作系统及平台要求),如 Rocky Linux 9.1 及以上版本。 | ||
|
||
由于 CentOS Linux 7 已到达 EOL,TiDB 将在未来版本中停止对 CentOS Linux 7 的兼容性支持。 | ||
|
||
## 改进提升 | ||
|
||
+ TiDB | ||
|
||
- 支持将只读的用户自定义变量折叠为常量 [#52742](https://github.com/pingcap/tidb/issues/52742) @[winoros](https://github.com/winoros) | ||
- 将具有 nulleq 条件的笛卡尔积 Semi Join 转换为等值条件的 Semi Join,以提升查询的执行效率 [#57583](https://github.com/pingcap/tidb/issues/57583) @[hawkingrei](https://github.com/hawkingrei) | ||
- 将统计信息内存缓存的默认阈值调整为总内存的 20% [#58014](https://github.com/pingcap/tidb/issues/58014) @[hawkingrei](https://github.com/hawkingrei) | ||
- 增强时间戳合法性检查 [#57786](https://github.com/pingcap/tidb/issues/57786) @[MyonKeminta](https://github.com/MyonKeminta) | ||
|
||
+ TiKV | ||
|
||
- 增加对非法 `max_ts` 更新的检测机制 [#17916](https://github.com/tikv/tikv/issues/17916) @[ekexium](https://github.com/ekexium) | ||
|
||
+ TiFlash | ||
|
||
- 优化在存算分离架构下,读节点从 S3 下载文件异常时的重试策略 [#9695](https://github.com/pingcap/tiflash/issues/9695) @[JinheLin](https://github.com/JinheLin) | ||
|
||
+ Tools | ||
|
||
+ TiCDC | ||
|
||
- 提前过滤掉未被 TiCDC 订阅的事件,以避免不必要的资源消耗 [#17877](https://github.com/tikv/tikv/issues/17877) @[hicqu](https://github.com/hicqu) | ||
|
||
## 错误修复 | ||
|
||
+ TiDB | ||
|
||
- 修复查询 TiFlash 系统表中默认超时时间过短的问题 [#57816](https://github.com/pingcap/tidb/issues/57816) @[JaySon-Huang](https://github.com/JaySon-Huang) | ||
- 修复设置 `tidb_gogc_tuner_max_value` 和 `tidb_gogc_tuner_min_value` 时,由于最大值为空导致出现错误的 warning 信息的问题 [#57889](https://github.com/pingcap/tidb/issues/57889) @[hawkingrei](https://github.com/hawkingrei) | ||
- 修复添加索引期间,计划缓存使用了错误的 schema 导致数据索引不一致的问题 [#56733](https://github.com/pingcap/tidb/issues/56733) @[wjhuang2016](https://github.com/wjhuang2016) | ||
- 修复 Grafana 中 **Stats Healthy Distribution** 面板的数据可能错误的问题 [#57176](https://github.com/pingcap/tidb/issues/57176) @[hawkingrei](https://github.com/hawkingrei) | ||
- 修复没有收集过统计信息的表的上次 `ANALYZE` 时间可能不为 NULL 的问题 [#57735](https://github.com/pingcap/tidb/issues/57735) @[winoros](https://github.com/winoros) | ||
- 修复对统计信息的异常处理不当导致后台任务超时的时候,内存内的统计信息被误删除的问题 [#57901](https://github.com/pingcap/tidb/issues/57901) @[hawkingrei](https://github.com/hawkingrei) | ||
- 修复执行 `DROP DATABASE` 语句后统计信息未被清理的问题 [#57230](https://github.com/pingcap/tidb/issues/57230) @[Rustin170506](https://github.com/Rustin170506) | ||
- 修复在构造 `IndexMerge` 时可能丢失部分谓词的问题 [#58476](https://github.com/pingcap/tidb/issues/58476) @[hawkingrei](https://github.com/hawkingrei) | ||
- 修复在超过 3000 维向量类型的列上创建向量搜索索引报错 `KeyTooLong` 的问题 [#58836](https://github.com/pingcap/tidb/issues/58836) @[breezewish](https://github.com/breezewish) | ||
- 修复 `REORGANIZE PARTITION` 操作未正确移除被替换的全局索引,以及处理非聚簇表唯一索引的问题 [#56822](https://github.com/pingcap/tidb/issues/56822) @[mjonss](https://github.com/mjonss) | ||
- 修复分区表 Range INTERVAL 语法糖不支持使用 `MINUTE` 做间隔的问题 [#57698](https://github.com/pingcap/tidb/issues/57698) @[mjonss](https://github.com/mjonss) | ||
- 修复查询慢日志时,更改时区导致返回结果错误的问题 [#58452](https://github.com/pingcap/tidb/issues/58452) @[lcwangchao](https://github.com/lcwangchao) | ||
- 修复在缩减 TTL 扫描任务的工作线程时,任务取消失败可能导致扫描任务泄漏的问题 [#57708](https://github.com/pingcap/tidb/issues/57708) @[YangKeao](https://github.com/YangKeao) | ||
- 修复在丢失心跳后,若 TTL 表被删除或禁用,TTL 作业仍继续运行的问题 [#57702](https://github.com/pingcap/tidb/issues/57702) @[YangKeao](https://github.com/YangKeao) | ||
- 修复 TTL 作业被取消后,`last_job_finish_time` 显示不正确的问题 [#58109](https://github.com/pingcap/tidb/issues/58109) @[YangKeao](https://github.com/YangKeao) | ||
- 修复 TiDB 丢失心跳时,TTL 任务无法被取消的问题 [#57784](https://github.com/pingcap/tidb/issues/57784) @[YangKeao](https://github.com/YangKeao) | ||
- 修复某个 TTL 任务丢失心跳会阻塞其他任务获取心跳的问题 [#57915](https://github.com/pingcap/tidb/issues/57915) @[YangKeao](https://github.com/YangKeao) | ||
- 修复缩减 TTL 工作线程时,部分过期行未被删除的问题 [#57990](https://github.com/pingcap/tidb/issues/57990) @[lcwangchao](https://github.com/lcwangchao) | ||
- 修复当 TTL 删除速率限制器被中断时,剩余行未重试的问题 [#58205](https://github.com/pingcap/tidb/issues/58205) @[lcwangchao](https://github.com/lcwangchao) | ||
- 修复在某些情况下,TTL 可能生成大量警告日志的问题 [#58305](https://github.com/pingcap/tidb/issues/58305) @[lcwangchao](https://github.com/lcwangchao) | ||
- 修复在修改 `tidb_ttl_delete_rate_limit` 时,部分 TTL 任务可能挂起的问题 [#58484](https://github.com/pingcap/tidb/issues/58484) @[lcwangchao](https://github.com/lcwangchao) | ||
- 修复执行 `REORGANIZE PARTITION` 时,数据回填可能导致并发更新被回滚的问题 [#58226](https://github.com/pingcap/tidb/issues/58226) @[mjonss](https://github.com/mjonss) | ||
- 修复查询 `cluster_slow_query` 表时,使用 `ORDER BY` 可能导致结果乱序的问题 [#51723](https://github.com/pingcap/tidb/issues/51723) @[Defined2014](https://github.com/Defined2014) | ||
|
||
+ TiKV | ||
|
||
- 修复处理 GBK/GB18030 编码的数据时可能出现编码失败的问题 [#17618](https://github.com/tikv/tikv/issues/17618) @[CbcWestwolf](https://github.com/CbcWestwolf) | ||
- 修复因 TiKV MVCC 内存引擎 (In-Memory Engine, IME) 预加载尚未初始化的副本导致 TiKV panic 的问题 [#18046](https://github.com/tikv/tikv/issues/18046) @[overvenus](https://github.com/overvenus) | ||
- 修复 Region Split 后可能无法快速选出 Leader 的问题 [#17602](https://github.com/tikv/tikv/issues/17602) @[LykxSassinator](https://github.com/LykxSassinator) | ||
- 修复磁盘卡住时,TiKV 无法向 PD 上报心跳的问题 [#17939](https://github.com/tikv/tikv/issues/17939) @[LykxSassinator](https://github.com/LykxSassinator) | ||
|
||
+ PD | ||
|
||
- 修复启用 `tidb_enable_tso_follower_proxy` 系统变量后,PD 可能出现 panic 的问题 [#8950](https://github.com/tikv/pd/issues/8950) @[okJiang](https://github.com/okJiang) | ||
- 修复 `evict-leader-scheduler` 在使用相同 Store ID 重复创建后无法正常工作的问题 [#8756](https://github.com/tikv/pd/issues/8756) @[okJiang](https://github.com/okJiang) | ||
|
||
+ TiFlash | ||
|
||
- 修复在存算分离架构下,对新增的列进行查询可能返回错误结果的问题 [#9665](https://github.com/pingcap/tiflash/issues/9665) @[zimulala](https://github.com/zimulala) | ||
- 修复 TiFlash 在内存占用较低的情况下,可能意外拒绝处理 Raft 消息的问题 [#9745](https://github.com/pingcap/tiflash/issues/9745) @[CalvinNeo](https://github.com/CalvinNeo) | ||
- 修复 TiFlash `POSITION()` 函数不支持字符集排序规则的问题 [#9377](https://github.com/pingcap/tiflash/issues/9377) @[xzhangxian1008](https://github.com/xzhangxian1008) | ||
|
||
+ Tools | ||
|
||
+ Backup & Restore (BR) | ||
|
||
- 修复 PITR 无法恢复大于 3072 字节的索引的问题 [#58430](https://github.com/pingcap/tidb/issues/58430) @[YuJuncen](https://github.com/YuJuncen) | ||
|
||
+ TiCDC | ||
|
||
- 修复在集群扩容出新的 TiKV 节点后 Changefeed 可能会卡住的问题 [#11766](https://github.com/pingcap/tiflow/issues/11766) @[lidezhu](https://github.com/lidezhu) | ||
- 修复 event filter 在处理 `RENAME TABLE` DDL 语句时错误地使用了新的表名而不是旧的表名来进行过滤的问题 [#11946](https://github.com/pingcap/tiflow/issues/11946) @[kennytm](https://github.com/kennytm) | ||
- 修复在删除 Changefeed 后 goroutine 泄漏的问题 [#11954](https://github.com/pingcap/tiflow/issues/11954) @[hicqu](https://github.com/hicqu) | ||
- 修复由于 Sarama 客户端乱序重发消息导致 Kafka 消息乱序的问题 [#11935](https://github.com/pingcap/tiflow/issues/11935) @[3AceShowHand](https://github.com/3AceShowHand) | ||
- 修复 Debezium 协议中 NOT NULL timestamp 类型字段的默认值不正确的问题 [#11966](https://github.com/pingcap/tiflow/issues/11966) @[wk989898](https://github.com/wk989898) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters