[ https://issues.apache.org/jira/browse/IOTDB-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623626#comment-17623626 ]
Jialin Qiao commented on IOTDB-4726: ------------------------------------ For this issue, no need to reject connection of CLi. But we'd better return specified message instead of null or error in calling xxx. > 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: Gaofei Cao > 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)