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

changxue commented on IOTDB-4726:
---------------------------------

[~qiaojialin] 可能不只是show cluster。看上面截图,show storage group 
也有这个问题,那么可能很多sql都会有类似问题。一个个修改是否有些麻烦?所以建议不可用就拒绝连接,这样,sql语句久不用考虑这种情况,无需修改了。
另外,如果开着命令行窗口,iotdb突然不可用,命令行窗口是否应该直接结束?

> show cluster return with msg: 500 null
> --------------------------------------
>
>                 Key: IOTDB-4726
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4726
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: changxue
>            Assignee: 刘俊男
>            Priority: Minor
>         Attachments: image-2022-10-24-11-13-30-723.png, showCluster-logs.txt
>
>
> show cluster return with msg: 500 null
>  
> reproduction:
>  # start 3C3D cluster successfully
>  # execute stop-confignode.sh and stop-datanode.sh on the other 2 nodes(not 
> the leader)
>  # start-cli.sh -h <leader IP>
>  # show cluster 
>  
> !image-2022-10-24-11-13-30-723.png!
>  
> logs see attachment
>  
> 说明:
> 一般来讲,3节点集群,挂掉2个节点就是不可用的。
> 所以这个情况并非不可接受,但是希望将错误提前,比如:在连接时就拒绝连接。



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

Reply via email to