minor changes
This commit is contained in:
parent
25c0b8cbe9
commit
5a5a27e8fc
|
@ -46,24 +46,24 @@ system sh/exec.sh -n dnode1 -s start
|
||||||
sql connect
|
sql connect
|
||||||
|
|
||||||
print =============== step4
|
print =============== step4
|
||||||
sql select count(*) from log.dn1
|
sql select * from log.dn1
|
||||||
$d1_first = $rows
|
$d1_first = $rows
|
||||||
sql select count(*) from log.dn2
|
sql select * from log.dn2
|
||||||
$d2_first = $rows
|
$d2_first = $rows
|
||||||
|
|
||||||
sleep 3000
|
sleep 3000
|
||||||
sql select count(*) from log.dn1
|
sql select * from log.dn1
|
||||||
$d1_second = $rows
|
$d1_second = $rows
|
||||||
sql select count(*) from log.dn2
|
sql select * from log.dn2
|
||||||
$d2_second = $rows
|
$d2_second = $rows
|
||||||
|
|
||||||
print dnode1 $d1_first $d1_second
|
print dnode1 $d1_first $d1_second
|
||||||
print dnode2 $d2_first $d2_first
|
print dnode2 $d2_first $d2_second
|
||||||
if $d1_first >= $d1_second then
|
if $d1_first >= $d1_second then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
if $d2_first >= $d2_first then
|
if $d2_first >= $d2_second then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue