minor changes

This commit is contained in:
Shengliang Guan 2022-01-10 03:41:33 -08:00
parent 3b379f7be0
commit 8cb0204632
1 changed files with 19 additions and 0 deletions

View File

@ -85,4 +85,23 @@ if $data02 != 2 then
return -1 return -1
endi endi
return
system sh/exec.sh -n dnode1 -s stop -x SIGKILL
system sh/exec.sh -n dnode1 -s start
sql show databases
if $rows != 1 then
return -1
endi
sql_error use d1
sql use d4
sql show vgroups
if $rows != 2 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT