提交 a3ed0703 编写于 作者: S Shengliang Guan

feat: report startup steps

上级 271e6255
......@@ -141,7 +141,6 @@ void dmReportStartup(SDnode *pDnode, const char *pName, const char *pDesc) {
tstrncpy(pStartup->name, pName, TSDB_STEP_NAME_LEN);
tstrncpy(pStartup->desc, pDesc, TSDB_STEP_DESC_LEN);
dInfo("step:%s, %s", pStartup->name, pStartup->desc);
taosMsleep(300);
}
void dmReportStartupByWrapper(SMgmtWrapper *pWrapper, const char *pName, const char *pDesc) {
......
......@@ -617,10 +617,10 @@ void shellTestNetWork() {
void shellCheckServerStatus() {
if (!args.status && !args.verbose) return;
char details[1024] = {0};
TSDB_SERVER_STATUS code;
do {
char details[1024] = {0};
code = taos_check_server_status(args.host, args.port, details, args.verbose ? 1024 : 0);
switch (code) {
case TSDB_SRV_STATUS_UNAVAILABLE:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册