From 044527f833b1110e2d481b6b39bac585ba505a68 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 8 Feb 2022 10:27:55 +0800 Subject: [PATCH 1/2] show hosts The `show hosts` command displays the version --- docs-2.0/2.quick-start/4.nebula-graph-crud.md | 30 +++++---- .../6.show/6.show-hosts.md | 32 +++++----- .../9.space-statements/1.create-space.md | 30 +++++---- ...deploy-nebula-graph-with-docker-compose.md | 15 +++-- .../deploy-nebula-graph-cluster.md | 19 +++--- docs-2.0/8.service-tuning/load-balance.md | 63 +++++++++---------- 6 files changed, 90 insertions(+), 99 deletions(-) diff --git a/docs-2.0/2.quick-start/4.nebula-graph-crud.md b/docs-2.0/2.quick-start/4.nebula-graph-crud.md index 108c6943d7a..4f38c23032b 100644 --- a/docs-2.0/2.quick-start/4.nebula-graph-crud.md +++ b/docs-2.0/2.quick-start/4.nebula-graph-crud.md @@ -51,14 +51,13 @@ Storage 服务加入集群后,可以执行命令`SHOW HOSTS`查看机器状态 ```ngql nebula> SHOW HOSTS; -+------------------+------+----------+--------------+----------------------+------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+------------------+------+----------+--------------+----------------------+------------------------+ -| "192.168.10.100" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.101" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.102" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "Total" | | | 0 | | | -+------------------+------+----------+--------------+----------------------+------------------------+ ++------------------+------+----------+--------------+----------------------+------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++------------------+------+----------+--------------+----------------------+------------------------+---------+ +| "192.168.10.100" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.101" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.102" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | ++------------------+------+----------+--------------+----------------------+------------------------+---------+ ``` 在返回结果中,查看 **Status** 列,可以看到所有 Storage 服务都在线。 @@ -131,14 +130,13 @@ nebula> SHOW HOSTS; ```ngql nebula> SHOW HOSTS; - +-------------+-----------+-----------+--------------+----------------------------------+------------------------+ - | Host | Port | Status | Leader count | Leader distribution | Partition distribution | - +-------------+-----------+-----------+--------------+----------------------------------+------------------------+ - | "storaged0" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | - | "storaged1" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | - | "storaged2" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | - | "Total" | | | 15 | "basketballplayer:15" | "basketballplayer:15" | - +-------------+-----------+-----------+--------------+----------------------------------+------------------------+ + +-------------+-----------+-----------+--------------+----------------------------------+------------------------+---------+ + | Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | + +-------------+-----------+-----------+--------------+----------------------------------+------------------------+---------+ + | "storaged0" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | "3.0.0" | + | "storaged1" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | "3.0.0" | + | "storaged2" | 9779 | "ONLINE" | 5 | "basketballplayer:5" | "basketballplayer:5" | "3.0.0" | + +-------------+-----------+-----------+--------------+----------------------------------+------------------------+---------+ ``` 如果** Leader distribution **分布不均匀,请执行命令`BALANCE LEADER`重新分配。更多信息,请参见 [Storage 负载均衡](../8.service-tuning/load-balance.md)。 diff --git a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md index 3bfd2b05ce7..6088302041e 100644 --- a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md +++ b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md @@ -16,38 +16,38 @@ SHOW HOSTS [GRAPH | STORAGE | META]; ```ngql nebula> SHOW HOSTS; -+-------------+-------+----------+--------------+----------------------------------+------------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+-------------+-------+----------+--------------+----------------------------------+------------------------------+ -| "storaged0" | 9779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | -| "storaged1" | 9779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | -| "storaged2" | 9779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | -+-------------+-------+----------+--------------+----------------------------------+------------------------------+ ++-------------+-------+----------+--------------+----------------------------------+------------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++-------------+-------+----------+--------------+----------------------------------+------------------------------+---------+ +| "storaged0" | 9779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | "3.0.0" | +| "storaged1" | 9779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | "3.0.0" | +| "storaged2" | 9779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | "3.0.0" | ++-------------+-------+----------+--------------+----------------------------------+------------------------------+---------+ nebula> SHOW HOSTS GRAPH; -+-----------+------+----------+---------+---------------+--------+ ++-----------+------+----------+---------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +-----------+------+----------+---------+--------------+---------+ -| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "2.6.0" | -| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "2.6.0" | -| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "2.6.0" | +| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.0.0" | +| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.0.0" | +| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.0.0" | +-----------+------+----------+---------+--------------+---------+ nebula> SHOW HOSTS STORAGE; +-------------+------+----------+-----------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +-------------+------+----------+-----------+--------------+---------+ -| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "2.6.0" | -| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "2.6.0" | -| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "2.6.0" | +| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.0.0" | +| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.0.0" | +| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.0.0" | +-------------+------+----------+-----------+--------------+---------+ nebula> SHOW HOSTS META; +----------+------+----------+--------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +----------+------+----------+--------+--------------+---------+ -| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "2.6.0" | -| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "2.6.0" | +| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.0.0" | +| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.0.0" | | "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "2.6.0" | +----------+------+----------+--------+--------------+---------+ ``` diff --git a/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md b/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md index 7851fb281fb..6c0f6b0c06d 100644 --- a/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md +++ b/docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md @@ -96,14 +96,13 @@ nebula> SHOW CREATE SPACE my_space_4; ```ngql nebula> SHOW HOSTS; -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ -| "storaged0" | 9779 | "ONLINE" | 8 | "basketballplayer:3, test:5" | "basketballplayer:10, test:10" | -| "storaged1" | 9779 | "ONLINE" | 9 | "basketballplayer:4, test:5" | "basketballplayer:10, test:10" | -| "storaged2" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:10, test:10" | -| "Total" | | | 20 | "basketballplayer:10, test:10" | "basketballplayer:30, test:30" | -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ +| "storaged0" | 9779 | "ONLINE" | 8 | "basketballplayer:3, test:5" | "basketballplayer:10, test:10" | "3.0.0" | +| "storaged1" | 9779 | "ONLINE" | 9 | "basketballplayer:4, test:5" | "basketballplayer:10, test:10" | "3.0.0" | +| "storaged2" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:10, test:10" | "3.0.0" | ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ ``` 如果需要均衡负载,请执行如下命令: @@ -111,12 +110,11 @@ nebula> SHOW HOSTS; ```ngql nebula> BALANCE LEADER; nebula> SHOW HOSTS; -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ -| "storaged0" | 9779 | "ONLINE" | 7 | "basketballplayer:3, test:4" | "basketballplayer:10, test:10" | -| "storaged1" | 9779 | "ONLINE" | 7 | "basketballplayer:4, test:3" | "basketballplayer:10, test:10" | -| "storaged2" | 9779 | "ONLINE" | 6 | "basketballplayer:3, test:3" | "basketballplayer:10, test:10" | -| "Total" | | | 20 | "basketballplayer:10, test:10" | "basketballplayer:30, test:30" | -+-------------+------+----------+--------------+--------------------------------+--------------------------------+ ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ +| "storaged0" | 9779 | "ONLINE" | 7 | "basketballplayer:3, test:4" | "basketballplayer:10, test:10" | "3.0.0" | +| "storaged1" | 9779 | "ONLINE" | 7 | "basketballplayer:4, test:3" | "basketballplayer:10, test:10" | "3.0.0" | +| "storaged2" | 9779 | "ONLINE" | 6 | "basketballplayer:3, test:3" | "basketballplayer:10, test:10" | "3.0.0" | ++-------------+------+----------+--------------+--------------------------------+--------------------------------+---------+ ``` diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md index 0e5c5d45b3c..10f472927cc 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md @@ -98,14 +98,13 @@ ```bash nebula> SHOW HOSTS; - +-------------+------+----------+--------------+----------------------+------------------------+ - | Host | Port | Status | Leader count | Leader distribution | Partition distribution | - +-------------+------+----------+--------------+----------------------+------------------------+ - | "storaged0" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "storaged1" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "storaged2" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "Total" | | | 0 | | | - +-------------+------+----------+--------------+----------------------+------------------------+ + +-------------+------+----------+--------------+----------------------+------------------------+---------+ + | Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | + +-------------+------+----------+--------------+----------------------+------------------------+---------+ + | "storaged0" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | + | "storaged1" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | + | "storaged2" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | + +-------------+------+----------+--------------+----------------------+------------------------+---------+ ``` 5. 执行两次`exit` 可以退出容器。 diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md index daba6426155..15000cae183 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md @@ -291,14 +291,13 @@ $ ./nebula-console --addr 192.168.10.111 --port 9669 -u root -p nebula Welcome to Nebula Graph! > SHOW HOSTS; -+------------------+------+----------+--------------+----------------------+------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+------------------+------+----------+--------------+----------------------+------------------------+ -| "192.168.10.111" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.112" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.113" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.114" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "192.168.10.115" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | -| "Total" | | | 0 | | | -+------------------+------+----------+--------------+----------------------+------------------------+ ++------------------+------+----------+--------------+----------------------+------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++------------------+------+----------+--------------+----------------------+------------------------+---------+ +| "192.168.10.111" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.112" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.113" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.114" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | +| "192.168.10.115" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.0.0" | ++------------------+------+----------+--------------+----------------------+------------------------+---------+ ``` diff --git a/docs-2.0/8.service-tuning/load-balance.md b/docs-2.0/8.service-tuning/load-balance.md index c9addcb4acc..d84dbb8ad9e 100644 --- a/docs-2.0/8.service-tuning/load-balance.md +++ b/docs-2.0/8.service-tuning/load-balance.md @@ -29,17 +29,16 @@ ```ngql nebual> SHOW HOSTS; - +------------------+------+----------+--------------+-----------------------------------+------------------------+ - Host | Port | Status | Leader count | Leader distribution | Partition distribution | - +------------------+------+----------+--------------+-----------------------------------+------------------------+ - | "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:4" | "basketballplayer:15" | - | "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:8" | "basketballplayer:15" | - | "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:15" | - | "192.168.10.103" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "192.168.10.104" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "192.168.10.105" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | - | "Total" | | | 15 | "basketballplayer:15" | "basketballplayer:45" | - +------------------+------+----------+--------------+-----------------------------------+------------------------+ + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ + | Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ + | "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:4" | "basketballplayer:15" | "3.1.0" | + | "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:8" | "basketballplayer:15" | "3.1.0" | + | "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:15" | "3.1.0" | + | "192.168.10.103" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.1.0" | + | "192.168.10.104" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.1.0" | + | "192.168.10.105" | 9779 | "ONLINE" | 0 | "No valid partition" | "No valid partition" | "3.1.0" | + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ ``` 3. 执行命令`BALANCE IN ZONE`将当前图空间内每个 Zone 内部的分片均衡分布。 @@ -77,17 +76,16 @@ ```ngql nebula> SHOW HOSTS; - +------------------+------+----------+--------------+-----------------------------------+------------------------+ - | Host | Port | Status | Leader count | Leader distribution | Partition distribution | - +------------------+------+----------+--------------+-----------------------------------+------------------------+ - | "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:4" | "basketballplayer:8" | - | "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:8" | "basketballplayer:8" | - | "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:8" | - | "192.168.10.103" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | - | "192.168.10.104" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | - | "192.168.10.105" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | - | "Total" | | | 15 | "basketballplayer:15" | "basketballplayer:45" | - +------------------+------+----------+--------------+-----------------------------------+------------------------+ + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ + | Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ + | "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:4" | "basketballplayer:8" | "3.1.0" | + | "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:8" | "basketballplayer:8" | "3.1.0" | + | "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:8" | "3.1.0" | + | "192.168.10.103" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | "3.1.0" | + | "192.168.10.104" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | "3.1.0" | + | "192.168.10.105" | 9779 | "ONLINE" | 0 | "No valid partition" | "basketballplayer:7" | "3.1.0" | + +------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ ``` 如果有子任务失败,请重启作业,详情参见[作业管理](../3.ngql-guide/18.operation-and-maintenance-statements/4.job-statements.md)。如果重做负载均衡仍然不能解决问题,请到 [Nebula Graph 社区](https://discuss.nebula-graph.com.cn/)寻求帮助。 @@ -147,17 +145,16 @@ nebula> BALANCE LEADER; ```ngql nebula> SHOW HOSTS; -+------------------+------+----------+--------------+-----------------------------------+------------------------+ -| Host | Port | Status | Leader count | Leader distribution | Partition distribution | -+------------------+------+----------+--------------+-----------------------------------+------------------------+ -| "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:3" | "basketballplayer:8" | -| "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:3" | "basketballplayer:8" | -| "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:8" | -| "192.168.10.103" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | -| "192.168.10.104" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | -| "192.168.10.105" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | -| "Total" | | | 15 | "basketballplayer:15" | "basketballplayer:45" | -+------------------+------+----------+--------------+-----------------------------------+------------------------+ ++------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ +| Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | ++------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ +| "192.168.10.100" | 9779 | "ONLINE" | 4 | "basketballplayer:3" | "basketballplayer:8" | "3.0.0" | +| "192.168.10.101" | 9779 | "ONLINE" | 8 | "basketballplayer:3" | "basketballplayer:8" | "3.0.0" | +| "192.168.10.102" | 9779 | "ONLINE" | 3 | "basketballplayer:3" | "basketballplayer:8" | "3.0.0" | +| "192.168.10.103" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | "3.0.0" | +| "192.168.10.104" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | "3.0.0" | +| "192.168.10.105" | 9779 | "ONLINE" | 0 | "basketballplayer:2" | "basketballplayer:7" | "3.0.0" | ++------------------+------+----------+--------------+-----------------------------------+------------------------+---------+ ``` !!! caution From c4c0759580ad9ae92c5fc19a2ecc632c5df9df54 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 8 Feb 2022 10:29:02 +0800 Subject: [PATCH 2/2] Update 6.show-hosts.md --- .../7.general-query-statements/6.show/6.show-hosts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md index 6088302041e..04d35c5a046 100644 --- a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md +++ b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md @@ -48,6 +48,6 @@ nebula> SHOW HOSTS META; +----------+------+----------+--------+--------------+---------+ | "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.0.0" | | "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.0.0" | -| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "2.6.0" | +| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.0.0" | +----------+------+----------+--------+--------------+---------+ ```