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

Conversation

yinsustart
Copy link
Contributor

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added the first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. label Jan 6, 2025
@CLAassistant
Copy link

CLAassistant commented Jan 6, 2025

CLA assistant check
All committers have signed the CLA.

@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 6, 2025
Comment on lines 36 to 39
> - 从 TiDB v8.5.1 起重新支持 CentOS Linux 7。用户现在可以运行在 CentOS Linux 7 上的 TiDB 集群升级到 v8.5.1 版本。
> - 根据 [CentOS Linux EOL](https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol),CentOS Linux 7 的上游支持于 2024 年 6 月 30 日终止。从 TiDB v8.4.0 版本开始,我们暂停了对 CentOS Linux 7 的支持,并建议用户使用 Rocky Linux 9.1 及以上的版本。
> - 如果在使用 CentOS Linux 7 的情况下升级到 TiDB v8.4.0 或 v8.5.0 版本,将导致集群不可用。
> - 尽管 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),并考虑尽快迁移到受支持的操作系统版本,如 Rocky Linux 9.1 及以上版本。
Copy link
Collaborator

@qiancai qiancai Jan 6, 2025

Choose a reason for hiding this comment

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

Suggested change
> - 从 TiDB v8.5.1 起重新支持 CentOS Linux 7。用户现在可以运行在 CentOS Linux 7 上的 TiDB 集群升级到 v8.5.1 版本
> - 根据 [CentOS Linux EOL](https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol),CentOS Linux 7 的上游支持于 2024 年 6 月 30 日终止。从 TiDB v8.4.0 版本开始,我们暂停了对 CentOS Linux 7 的支持,并建议用户使用 Rocky Linux 9.1 及以上的版本。
> - 如果在使用 CentOS Linux 7 的情况下升级到 TiDB v8.4.0 或 v8.5.0 版本,将导致集群不可用
> - 尽管 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),并考虑尽快迁移到受支持的操作系统版本,如 Rocky Linux 9.1 及以上版本。
> - 根据 [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 版本,将导致集群不可用。
> - 从 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 及以上版本。

@ti-chi-bot ti-chi-bot bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 8, 2025
@@ -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 版本,可能会导致集群不可用。
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 版本,将存在导致集群不可用的风险

hardware-and-software-requirements.md Outdated Show resolved Hide resolved
@@ -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 qiancai self-assigned this Jan 13, 2025
hardware-and-software-requirements.md Outdated Show resolved Hide resolved
hardware-and-software-requirements.md Outdated Show resolved Hide resolved
upgrade-tidb-using-tiup.md Outdated Show resolved Hide resolved
upgrade-tidb-using-tiup.md Outdated Show resolved Hide resolved
@qiancai qiancai added needs-cherry-pick-master Should cherry pick this PR to master branch. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed missing-translation-status This PR does not have translation status info. labels Jan 17, 2025
Copy link

@stevenayu stevenayu left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

ti-chi-bot bot commented Jan 17, 2025

@stevenayu: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

ti-chi-bot bot commented Jan 17, 2025

@wuhuizuo: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

upgrade-tidb-using-tiup.md Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jan 17, 2025
Copy link

ti-chi-bot bot commented Jan 17, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-17 07:01:55.327544461 +0000 UTC m=+274786.782590611: ☑️ agreed by Oreoxmt.

@qiancai
Copy link
Collaborator

qiancai commented Jan 17, 2025

/approve

@qiancai qiancai added the lgtm label Jan 17, 2025
Copy link

ti-chi-bot bot commented Jan 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jan 17, 2025
@qiancai
Copy link
Collaborator

qiancai commented Jan 17, 2025

/retest

1 similar comment
@qiancai
Copy link
Collaborator

qiancai commented Jan 17, 2025

/retest

@qiancai qiancai merged commit 742e7bc into pingcap:release-8.5 Jan 17, 2025
7 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch master: #19591.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved first-time-contributor Indicates that the PR was contributed by an external member and is a first-time contributor. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-master Should cherry pick this PR to master branch. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants