This is an automated email from the ASF dual-hosted git repository.
wanghailin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new b1aac07a1c [Fix][Doc] fix backup-count config (#8147)
b1aac07a1c is described below
commit b1aac07a1c9d19ed3019db13485a039cdc870cf6
Author: corgy-w <[email protected]>
AuthorDate: Tue Nov 26 16:25:09 2024 +0800
[Fix][Doc] fix backup-count config (#8147)
Co-authored-by: trevon.wang <[email protected]>
---
docs/en/seatunnel-engine/hybrid-cluster-deployment.md | 2 +-
docs/en/seatunnel-engine/separated-cluster-deployment.md | 2 +-
docs/zh/seatunnel-engine/hybrid-cluster-deployment.md | 2 +-
docs/zh/seatunnel-engine/separated-cluster-deployment.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/en/seatunnel-engine/hybrid-cluster-deployment.md
b/docs/en/seatunnel-engine/hybrid-cluster-deployment.md
index 0f4ecf86b7..ac072c494d 100644
--- a/docs/en/seatunnel-engine/hybrid-cluster-deployment.md
+++ b/docs/en/seatunnel-engine/hybrid-cluster-deployment.md
@@ -43,7 +43,7 @@ Therefore, the SeaTunnel Engine can implement cluster HA
without using other ser
`backup count` is a parameter that defines the number of synchronous backups.
For example, if it is set to 1, the backup of the partition will be placed on
one other member. If it is set to 2, it will be placed on two other members.
-We recommend that the value of `backup count` be `min(1, max(5, N/2))`. `N` is
the number of cluster nodes.
+We recommend that the value of `backup count` be `max(1, min(5, N/2))`. `N` is
the number of cluster nodes.
```yaml
seatunnel:
diff --git a/docs/en/seatunnel-engine/separated-cluster-deployment.md
b/docs/en/seatunnel-engine/separated-cluster-deployment.md
index 6b74597497..91215eb459 100644
--- a/docs/en/seatunnel-engine/separated-cluster-deployment.md
+++ b/docs/en/seatunnel-engine/separated-cluster-deployment.md
@@ -71,7 +71,7 @@ SeaTunnel Engine implements cluster management based on
[Hazelcast IMDG](https:/
The `backup count` is a parameter that defines the number of synchronous
backups. For example, if it is set to 1, the backup of the partition will be
placed on one other member. If it is set to 2, it will be placed on two other
members.
-We recommend that the value of `backup-count` be `min(1, max(5, N/2))`. `N` is
the number of cluster nodes.
+We recommend that the value of `backup-count` be `max(1, min(5, N/2))`. `N` is
the number of cluster nodes.
```yaml
seatunnel:
diff --git a/docs/zh/seatunnel-engine/hybrid-cluster-deployment.md
b/docs/zh/seatunnel-engine/hybrid-cluster-deployment.md
index 709259d72d..7780527345 100644
--- a/docs/zh/seatunnel-engine/hybrid-cluster-deployment.md
+++ b/docs/zh/seatunnel-engine/hybrid-cluster-deployment.md
@@ -43,7 +43,7 @@ SeaTunnel Engine 基于 [Hazelcast
IMDG](https://docs.hazelcast.com/imdg/4.1/)
`backup count` 是定义同步备份数量的参数。例如,如果设置为 1,则分区的备份将放置在一个其他成员上。如果设置为 2,则将放置在两个其他成员上。
-我们建议 `backup-count` 的值为 `min(1, max(5, N/2))`。 `N` 是集群节点的数量。
+我们建议 `backup-count` 的值为 `max(1, min(5, N/2))`。 `N` 是集群节点的数量。
```yaml
seatunnel:
diff --git a/docs/zh/seatunnel-engine/separated-cluster-deployment.md
b/docs/zh/seatunnel-engine/separated-cluster-deployment.md
index dbe4865272..bdc369ff8c 100644
--- a/docs/zh/seatunnel-engine/separated-cluster-deployment.md
+++ b/docs/zh/seatunnel-engine/separated-cluster-deployment.md
@@ -75,7 +75,7 @@ SeaTunnel Engine 基于 [Hazelcast
IMDG](https://docs.hazelcast.com/imdg/4.1/)
`backup count` 是定义同步备份数量的参数。例如,如果设置为 1,则分区的备份将放置在一个其他成员上。如果设置为 2,则将放置在两个其他成员上。
-我们建议 `backup-count` 的值为 `min(1, max(5, N/2))`。 `N` 是集群节点的数量。
+我们建议 `backup-count` 的值为 `max(1, min(5, N/2))`。 `N` 是集群节点的数量。
```yaml
seatunnel: