You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by hu...@apache.org on 2024/03/15 10:00:54 UTC

(kvrocks-website) branch main updated: Add ClusterX commands (#210)

This is an automated email from the ASF dual-hosted git repository.

hulk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f9dbf4  Add ClusterX commands (#210)
4f9dbf4 is described below

commit 4f9dbf46a2d4657537b78cd7eb8b196097e89d84
Author: Zhou SiLe <zh...@foxmail.com>
AuthorDate: Fri Mar 15 18:00:48 2024 +0800

    Add ClusterX commands (#210)
---
 docs/supported-commands.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/supported-commands.md b/docs/supported-commands.md
index 5035241..f53b5c4 100644
--- a/docs/supported-commands.md
+++ b/docs/supported-commands.md
@@ -237,6 +237,24 @@ These commands are subcommands for `CLUSTER`, using as `CLUSTER INFO` etc.
 | SLOTS      | √                | v2.0.2        |      |
 | KEYSLOT    | √                | v2.0.2        |      |
 
+## ClusterX commands
+
+These commands are subcommands for `CLUSTERX`, using as `CLUSTERX VERSION` etc.
+
+| SUBCOMMAND | Supported OR Not | Since Version | Desc |
+| ---------- | ---------------- | ------------- | ---- |
+| VERSION    | √                | v2.0.2        |      |
+| SETNODEID  | √                | v2.0.2        |      |
+| SETNODES   | √                | v2.0.2        |      |
+| SETSLOT    | √                | v2.0.6        |      |
+| MIGRATE    | √                | v2.0.6        |      |
+
+:::note
+
+To guarantee the correctness of client SDK, we rename the `CLUSTER` command to `CLUSTERX` to prevent the topology can being modified casually, but we can still use the `CLUSTER` command to fetch the cluster topology information.
+
+:::
+
 ## Server commands
 
 | Command     | Supported OR Not | Since Version | Desc                                                                                                                    |