Skip to content

Commit

Permalink
use-macro-for-show-hosts (#2468)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Jan 11, 2023
1 parent 6fc79fe commit 82a09d8
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,35 @@ nebula> SHOW HOSTS;
+-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+
| Host | Port | HTTP port | Status | Leader count | Leader distribution | Partition distribution | Version |
+-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+
| "storaged0" | 9779 | 19779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | "3.1.0" |
| "storaged1" | 9779 | 19779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | "3.1.0" |
| "storaged2" | 9779 | 19779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | "3.1.0" |
| "storaged0" | 9779 | 19779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | "{{nebula.release}}" |
| "storaged1" | 9779 | 19779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | "{{nebula.release}}" |
| "storaged2" | 9779 | 19779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | "{{nebula.release}}" |
+-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+
nebula> SHOW HOSTS GRAPH;
+-----------+------+----------+---------+--------------+---------+
| Host | Port | Status | Role | Git Info Sha | Version |
+-----------+------+----------+---------+--------------+---------+
| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" |
| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" |
| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" |
| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" |
| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" |
| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" |
+-----------+------+----------+---------+--------------+---------+
nebula> SHOW HOSTS STORAGE;
+-------------+------+----------+-----------+--------------+---------+
| Host | Port | Status | Role | Git Info Sha | Version |
+-------------+------+----------+-----------+--------------+---------+
| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" |
| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" |
| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" |
| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" |
| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" |
| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" |
+-------------+------+----------+-----------+--------------+---------+
nebula> SHOW HOSTS META;
+----------+------+----------+--------+--------------+---------+
| Host | Port | Status | Role | Git Info Sha | Version |
+----------+------+----------+--------+--------------+---------+
| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" |
| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" |
| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" |
| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" |
| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" |
| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" |
+----------+------+----------+--------+--------------+---------+
```

0 comments on commit 82a09d8

Please sign in to comment.