system sh/stop_dnodes.sh system sh/deploy.sh -n dnode1 -i 1 system sh/cfg.sh -n dnode1 -c debugflag -v 131 system sh/exec.sh -n dnode1 -s start -v sql connect print =============== step1: create drop show dnodes $x = 0 step1: $x = $x + 1 sleep 1000 if $x == 10 then print ----> dnode not ready! return -1 endi sql show dnodes print ----> $data00 $data01 $data02 $data03 $data04 $data05 if $rows != 1 then return -1 endi print =============== step2 sql create database db vgroups 1 buffer 3 sql use db sql create table if not exists stb (ts timestamp, c1 int, c2 float, c3 double) tags (t1 int unsigned) sql create table ct1 using stb tags(1000) sql insert into ct1 values(now+0s, 10, 2.0, 3.0) sql insert into ct1 values(now+1s, 11, 2.1, 3.1)(now+2s, -12, -2.2, -3.2)(now+3s, -13, -2.3, -3.3) _OVER: system sh/exec.sh -n dnode1 -s stop -x SIGINT