Skip to content

Commit

Permalink
add 8.5.1 release notes (#19473)
Browse files Browse the repository at this point in the history
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
15 people authored Jan 17, 2025
1 parent c340f81 commit 11d1914
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 5 deletions.
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,7 @@
- [TiDB 版本规则](/releases/versioning.md)
- [TiDB 离线包](/binary-package.md)
- v8.5
- [8.5.1](/releases/release-8.5.1.md)
- [8.5.0](/releases/release-8.5.0.md)
- v8.4
- [8.4.0-DMR](/releases/release-8.4.0.md)
Expand Down
6 changes: 3 additions & 3 deletions releases/release-8.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ TiDB 版本:8.4.0
| BR | [`--master-key`](/br/br-pitr-manual.md#加密日志备份数据) | 新增 | 设置日志备份数据的主密钥,可以是基于本地磁盘的主密钥或基于云 KMS (Key Management Service) 的主密钥。|
| BR | [`--master-key-crypter-method`](/br/br-pitr-manual.md#加密日志备份数据) | 新增 | 设置日志备份数据基于主密钥的加密算法,支持 `aes128-ctr``aes192-ctr``aes256-ctr` 三种算法,缺省值为 `plaintext`,表示不加密。 |

## 离线包变更
### 离线包变更

从 v8.4.0 开始,`TiDB-community-toolkit` [二进制软件包](/binary-package.md)中移除了以下内容:

Expand All @@ -336,11 +336,11 @@ TiDB 版本:8.4.0
- `binlogctl`
- `arbiter`

## 操作系统支持变更
### 操作系统支持变更

升级 TiDB 前,请务必确保你的操作系统版本符合[操作系统及平台要求](/hardware-and-software-requirements.md#操作系统及平台要求)

- 根据 [CentOS Linux EOL](https://www.centos.org/centos-linux-eol/),CentOS Linux 7 的上游支持已于 2024 年 6 月 30 日终止。 v8.4.0 版本开始,TiDB 已结束对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 CentOS 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。
- 根据 [CentOS Linux EOL](https://www.centos.org/centos-linux-eol/),CentOS Linux 7 的上游支持已于 2024 年 6 月 30 日终止。因此,在 v8.4.0 版本中,TiDB 移除了对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 CentOS 7 上的 TiDB 集群升级到 v8.4.0 版本,将导致集群不可用。
- 根据 [Red Hat Enterprise Linux Life Cycle](https://access.redhat.com/support/policy/updates/errata/#Life_Cycle_Dates),Red Hat Enterprise Linux 7 的 Maintenance Support 已于 2024 年 6 月 30 日终止。从 v8.4.0 版本开始,TiDB 已结束对 Red Hat Enterprise Linux 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 Red Hat Enterprise Linux 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。

## 移除功能
Expand Down
4 changes: 2 additions & 2 deletions releases/release-8.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ TiDB 8.5.0 为长期支持版本 (Long-Term Support Release, LTS)。
| PD | [`patrol-region-worker-count`](/pd-configuration-file.md#patrol-region-worker-count-从-v850-版本开始引入) | 新增 | 控制 checker 检查 Region 健康状态时,创建 [operator](/glossary.md#operator) 的并发数。|
| BR | [`--checksum`](/br/br-snapshot-manual.md) | 修改 | 默认值从 `true` 修改为 `false`,即 BR 进行全量备份时,默认不计算表级别的校验和,以提升备份性能。 |

## 操作系统支持变更
### 操作系统支持变更

升级 TiDB 前,请务必确保你的操作系统版本符合[操作系统及平台要求](/hardware-and-software-requirements.md#操作系统及平台要求)

- 根据 [CentOS Linux EOL](https://www.centos.org/centos-linux-eol/),CentOS Linux 7 的上游支持已于 2024 年 6 月 30 日终止。 v8.4.0 版本开始,TiDB 已结束对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 CentOS 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。
- 根据 [CentOS Linux EOL](https://www.centos.org/centos-linux-eol/),CentOS Linux 7 的上游支持已于 2024 年 6 月 30 日终止。因此,在 v8.4.0 和 v8.5.0 版本中,TiDB 移除了对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 CentOS 7 上的 TiDB 集群升级到 v8.4.0 或 v8.5.0 版本,将导致集群不可用。为了更好地服务仍在使用 CentOS Linux 7 的用户,TiDB 在 v8.5.1 版本中恢复了对 CentOS Linux 7 的兼容性测试和支持,详情参考 [TiDB 8.5.1 Release Notes](/releases/release-8.5.1.md)
- 根据 [Red Hat Enterprise Linux Life Cycle](https://access.redhat.com/support/policy/updates/errata/#Life_Cycle_Dates),Red Hat Enterprise Linux 7 的 Maintenance Support 已于 2024 年 6 月 30 日终止。从 v8.4.0 版本开始,TiDB 已结束对 Red Hat Enterprise Linux 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 Red Hat Enterprise Linux 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。

## 移除功能
Expand Down
104 changes: 104 additions & 0 deletions releases/release-8.5.1.md
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)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ summary: 介绍 TiDB 版本发布历史。

## 8.5

- [8.5.1](/releases/release-8.5.1.md): 2025-01-17
- [8.5.0](/releases/release-8.5.0.md): 2024-12-19

## 8.4
Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ summary: 了解 TiDB 的版本发布时间线。

| 版本 | 发布日期 |
| :--- | :--- |
| [8.5.1](/releases/release-8.5.1.md) | 2025-01-17 |
| [7.5.5](/releases/release-7.5.5.md) | 2024-12-31 |
| [8.1.2](/releases/release-8.1.2.md) | 2024-12-26 |
| [8.5.0](/releases/release-8.5.0.md) | 2024-12-19 |
Expand Down

0 comments on commit 11d1914

Please sign in to comment.