[ 
https://issues.apache.org/jira/browse/IOTDB-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610334#comment-17610334
 ] 

xiaozhihong commented on IOTDB-4523:
------------------------------------

Like this sql to execute:
{code:java}
IoTDB> show regions of storage group root.sgcc;
+--------+------------+-------+-------------+-----------+---------+----------+-----------+-------+--------+
|RegionId|        Type| Status|Storage Group|SeriesSlots|TimeSlots|DataNodeId|  
     Host|RpcPort|    Role|
+--------+------------+-------+-------------+-----------+---------+----------+-----------+-------+--------+
|       4|SchemaRegion|Running|    root.sgcc|          1|        0|         
1|172.20.31.3|   6667|  Leader|
|       4|SchemaRegion|Running|    root.sgcc|          1|        0|         
3|172.20.31.6|   6667|Follower|
|       4|SchemaRegion|Running|    root.sgcc|          1|        0|         
5|172.20.31.7|   6667|Follower|
+--------+------------+-------+-------------+-----------+---------+----------+-----------+-------+--------+
Total line number = 3
It costs 0.010s
 {code}

> [cluster]show regions of the specified storage group is not implemented
> -----------------------------------------------------------------------
>
>                 Key: IOTDB-4523
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4523
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: mpp-cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Yongzao Dan
>            Priority: Major
>              Labels: pull-request-available
>
> Show that the Region distribution function corresponding to the specified 
> storage group is not implemented.
> Step1: start 3C 3D
> Step2: Enter CLI, execute SQL
> {code:java}
> IoTDB> create timeseries root.sgcc.wf01.d1.wt01 with 
> datatype=BOOLEAN,encoding=PLAIN
> Msg: The statement is executed successfully.
> IoTDB> show regions of storage group root.*.wf01
> +--------+----+------+-------------+-----------+---------+----------+----+-------+----+
> |RegionId|Type|Status|Storage 
> Group|SeriesSlots|TimeSlots|DataNodeId|Host|RpcPort|Role|
> +--------+----+------+-------------+-----------+---------+----------+----+-------+----+
> +--------+----+------+-------------+-----------+---------+----------+----+-------+----+
> Empty set.
> It costs 0.006s
>  {code}
> Refer to:
> https://iotdb.apache.org/zh/UserGuide/Master/Maintenance-Tools/Maintenance-Command.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to