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

Update centos 7 on hardware-and-software-requirements.md #19476

Merged
merged 20 commits into from
Jan 17, 2025
Merged
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
10 changes: 8 additions & 2 deletions hardware-and-software-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ summary: TiDB 是一款开源的一站式实时 HTAP 数据库,支持部署在
| 操作系统 | 支持的 CPU 架构 |
|:-----------------------------------------------|:----------------------------------------|
| Red Hat Enterprise Linux 8.4 及以上的 8.x 版本 | <ul><li>x86_64</li><li>ARM 64</li></ul> |
| CentOS 7.3 及以上的 7.x 版本 (从 v8.5.1 开始支持)| <ul><li>x86_64</li><li>ARM 64</li></ul> |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| Amazon Linux 2 | <ul><li>x86_64</li><li>ARM 64</li></ul> |
| Amazon Linux 2023 | <ul><li>x86_64</li><li>ARM 64</li></ul> |
| Rocky Linux 9.1 及以上的版本 | <ul><li>x86_64</li><li>ARM 64</li></ul> |
Expand All @@ -33,7 +34,10 @@ summary: TiDB 是一款开源的一站式实时 HTAP 数据库,支持部署在

> **警告:**
>
> - 根据 [CentOS Linux EOL](https://blog.centos.org/2023/04/end-dates-are-coming-for-centos-stream-8-and-centos-linux-7/),CentOS Linux 7 的上游支持于 2024 年 6 月 30 日终止。从 8.4 DMR 版本开始,TiDB 已结束对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 CentOS 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。升级 TiDB 前,请务必检查你的操作系统版本。
> - 根据 [CentOS Linux EOL](https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol),CentOS Linux 7 的上游支持已于 2024 年 6 月 30 日终止。
> - 在 v8.4.0 DMR 和 v8.5.0 版本中,TiDB 暂停了对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果在使用 CentOS Linux 7 的情况下将 TiDB 升级到 v8.4.0 DMR 或 v8.5.0 版本,可能会导致集群不可用。
yinsustart marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> - 在 v8.4.0 DMR 和 v8.5.0 版本中,TiDB 暂停了对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果在使用 CentOS Linux 7 的情况下将 TiDB 升级到 v8.4.0 DMR 或 v8.5.0 版本,可能会导致集群不可用
> - 在 v8.4.0 DMR 和 v8.5.0 版本中,TiDB 暂停了对 CentOS 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果在使用 CentOS Linux 7 的情况下将 TiDB 升级到 v8.4.0 DMR 或 v8.5.0 版本,将存在导致集群不可用的风险

> - 从 v8.5.1 起,TiDB 重新提供了对 CentOS Linux 7 的支持。如果你需要在 CentOS 7 上部署 TiDB 8.5 版本或将集群升级到 TiDB 8.5 版本,请部署或升级至 TiDB 8.5.1 或以上版本。
> - 尽管 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 支持的操作系统版本,如 Rocky Linux 9.1 及以上版本。
> - 根据 [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 日终止。从 8.4 DMR 版本开始,TiDB 已结束对 Red Hat Enterprise Linux 7 的支持,建议使用 Rocky Linux 9.1 及以上的版本。如果将运行在 Red Hat Enterprise Linux 7 上的 TiDB 集群升级到 v8.4.0 或之后版本,将导致集群不可用。升级 TiDB 前,请务必检查你的操作系统版本。
yinsustart marked this conversation as resolved.
Show resolved Hide resolved

+ 在以下操作系统以及对应的 CPU 架构组合上,你可以编译、构建和部署 TiDB,可使用 OLTP 和 OLAP 以及数据工具的基本功能。但是 TiDB **不保障企业级生产质量要求**:
Expand All @@ -59,7 +63,9 @@ summary: TiDB 是一款开源的一站式实时 HTAP 数据库,支持部署在

+ 以上未提及的操作系统版本**也许可以**运行 TiDB,但尚未得到 TiDB 官方支持。

+ 从 v8.4.0 开始,TiDB 依赖 glibc 2.28。如果 glibc 版本不满足要求,建议使用上述表格中支持的操作系统,或将操作系统升级到支持 glibc 2.28 的版本。
+ 从 v8.5.1 起,TiDB 重新提供了对 glibc 2.17 的支持。如果你的操作系统的 glibc 版本为 2.17,当部署 TiDB 8.5 版本或将集群升级到 TiDB 8.5 版本时,请部署或升级至 TiDB 8.5.1 或以上版本。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pepezzzz PTAL

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的建议是,调整 8.5.1 是对 glibc 兼容变化, centos 还是非官方支持(能装但不建议)。

  • 升级 TiDB 前,请务必检查你的操作系统版本。在 v8.4.0 DMR 和 v8.5.0 版本中,TiDB 暂停了对 glibc 2.17 的适配,受影响的版本包括 CentOS Linux 7,建议使用 Rocky Linux 9.1 及以上的版本。如果在使用 CentOS Linux 7 的情况下将 TiDB 升级到 v8.4.0 DMR 或 v8.5.0 版本,将存在导致集群不可用的风险。
  • 从 v8.5.1 起,TiDB 重新适配 glibc 2.17,可以在 CentOS Linux 7 进行部署。如果你需要在 CentOS 7 上部署 TiDB 8.5 版本或将集群升级到 TiDB 8.5 版本,请部署或升级至 TiDB 8.5.1 或以上版本,我们仍建议您充分考虑 CentOS Linux 7 的上游支持终止后的风险。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qiancai marked this conversation as resolved.
Show resolved Hide resolved

+ 在 v8.4.0 DMR 和 v8.5.0 版本中,TiDB 依赖 glibc 2.28。如果 glibc 版本不满足要求,建议使用上述表格中支持的操作系统,或将操作系统升级到支持 glibc 2.28 的版本,以避免集群不可用的风险。
qiancai marked this conversation as resolved.
Show resolved Hide resolved

### 编译和运行 TiDB 所依赖的库

Expand Down
Loading