Skip to content

Commit e0f39be

Browse files
committed
Merge remote-tracking branch 'origin/release-5.8' into release-5.9
2 parents d1fe969 + dd8340e commit e0f39be

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

en_US/deploy/rolling-upgrades.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ To upgrade each node in the cluster without downtime, follow these steps:
3434
4. Install a new version of EMQX.
3535
5. Start the new version node.
3636

37+
**Upgrading Core and Replicant Nodes**
38+
39+
In a core/replicant cluster, upgrade nodes in alternating groups to maintain cluster stability:
40+
41+
- Begin with one core node.
42+
- Then upgrade a proportionate subset of replicant nodes (for example, roughly one-third if there are three core nodes).
43+
- Continue alternating between core and replicant nodes until all nodes are upgraded.
44+
45+
This approach ensures replicants always have compatible cores to connect to during the rollout.
46+
3747
:::tip Note
3848
Do not perform cluster-wide config changes during a rolling upgrade. Configuration changes made from the Dashboard, HTTP API, or CLI are applied to all nodes in the cluster. Making configuration changes during a rolling upgrade may cause nodes to become out of sync.
3949
:::

zh_CN/deploy/rolling-upgrades.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,23 @@
2525

2626
## 如何执行滚动升级
2727

28-
集群节点的滚动升级过程如下:
28+
**集群节点升级过程**
2929

3030
1. 使用集群重平衡将客户端从节点中清除。(可选)
3131
2. 停止旧版本节点。
3232
3. [备份](../operations/backup-restore.md)节点的配置文件和数据目录。
3333
4. 安装新版本的 EMQX。
3434
5. 启动新版本节点。
3535

36+
**Core/replicant 集群升级过程***
37+
38+
在 Core/Replicant 集群中,应分组交替升级节点,以保持集群的稳定性:
39+
- 首先升级一个 核心节点(core node)。
40+
- 然后升级一部分 从属节点(replicant nodes)(例如,当有三个核心节点时,可先升级大约三分之一的从属节点)。
41+
- 继续在核心节点和从属节点之间交替升级,直到所有节点都完成升级。
42+
43+
这种方式可确保在整个升级过程中,从属节点始终能够连接到与其版本兼容的核心节点。
44+
3645
:::tip 注意
3746
在滚动升级期间,请勿进行集群范围的配置更改。从 Dashboard、HTTP API 或 CLI 进行的配置更改将应用于集群中的所有节点。在滚动升级期间进行配置更改可能会导致节点不同步。
3847
:::

0 commit comments

Comments
 (0)