You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by tw...@apache.org on 2023/01/21 03:43:55 UTC
[incubator-kvrocks-website] 01/01: Fix command and description in cluster
This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch fix-cluster
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks-website.git
commit 62f2401b246aa3e882b9e5d5fe59b931bb948460
Author: PragmaTwice <tw...@gmail.com>
AuthorDate: Sat Jan 21 11:31:43 2023 +0800
Fix command and description in cluster
---
docs/cluster.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/cluster.md b/docs/cluster.md
index 6a59d14..24b9532 100644
--- a/docs/cluster.md
+++ b/docs/cluster.md
@@ -27,7 +27,7 @@ Kvrocks uses the [CLUSTERX SETNODES](https://github.com/apache/kvrocks/pull/302)
CLUSTERX SETNODES $ALL_NODES_INFO $VERSION $FORCE
````
-`$ALL_NODES_INFO` is the cluster topology information in format:
+`$ALL_NODES_INFO` is the cluster topology information in format (note that newline is required between different nodes):
```shell
$node_id $ip $port $role $master_node_id $slot_range
@@ -47,8 +47,8 @@ where
```shell
CLUSTERX SETNODES
- "67ed2db8d677e59ec4a4cefb06858cf2a1a89fa1 127.0.0.1 30002 master - 5461-10922 16380 16383
- 07c37dfeb235213a872192d90877d0cd55635b91 127.0.0.1 30004 slave 67ed2db8d677e59ec4a4cefb06858cf2a1a89fa1"
+ "67ed2db8d677e59ec4a4cefb06858cf2a1a89fa1 127.0.0.1 30002 master - 5461-10922 16380 16383\n
+ 07c37dfeb235213a872192d90877d0cd55635b91 127.0.0.1 30004 slave 67ed2db8d677e59ec4a4cefb06858cf2a1a89fa1"
1
```