From 93d6ee76cd9ed1ac7e059825b55922bd6a3574ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=AE=E5=82=A8-=E7=8E=8B=E5=BB=BA=E8=BE=BE?= Date: Wed, 19 Mar 2025 21:37:20 +0800 Subject: [PATCH] =?UTF-8?q?gs=5Fupgradectl=20bypass-stale-check=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=96=87=E6=A1=A3=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/en/docs/ToolandCommandReference/gs_upgradectl.md | 3 +++ content/zh/docs/ToolandCommandReference/gs_upgradectl.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/content/en/docs/ToolandCommandReference/gs_upgradectl.md b/content/en/docs/ToolandCommandReference/gs_upgradectl.md index 0d1592d77..096fb1349 100644 --- a/content/en/docs/ToolandCommandReference/gs_upgradectl.md +++ b/content/en/docs/ToolandCommandReference/gs_upgradectl.md @@ -145,6 +145,9 @@ Grayscale upgrade supports progress printing, and the progress is printed accord If openGauss is abnormal and does not support normal rollback, use this parameter to perform a forcible rollback. (Starting from version 6.0.0, force rollback parameter is no longer maintained.) +- --bypass-stale-check + + By default, the system prohibits upgrading to versions that were released earlier. For instance, it is not permitted to upgrade from version 6.x.x released in 2026 to version 7.0.0 RC1 released in 2025. To bypass the release date verification, the --bypass-stale-check parameter can be used. ## Examples diff --git a/content/zh/docs/ToolandCommandReference/gs_upgradectl.md b/content/zh/docs/ToolandCommandReference/gs_upgradectl.md index fef9b0b13..1952beb7e 100644 --- a/content/zh/docs/ToolandCommandReference/gs_upgradectl.md +++ b/content/zh/docs/ToolandCommandReference/gs_upgradectl.md @@ -143,6 +143,9 @@ 当openGauss状态不正常,无法支持正常回滚时,用此参数进行强制回滚操作 (6.0.0版本开始强制回滚参数废弃不在维护)。 +- --bypass-stale-check + + 默认情况下,禁止升级到发布时间较早的版本。例如,不允许从 2026 年发布的 6.x.x 版本升级至 2025 年发布的7.0.0 RC1版本。如需绕过发布时间校验,可使用 --bypass-stale-check 参数。 ## 示例 -- Gitee