Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -1,30 +0,0 @@
#!/bin/bash
CWD=$(cd `dirname $0`;pwd)
cd "${CWD}"
echo "================== prepare python env ... =================="
yum install -y wget python3 && pip3 install pymysql
if [ $? == 0 ]; then
echo "================== prepare python env ok =================="
else
echo "================== prepare python env failed =================="
exit -1
fi
echo "================== install oceanbase rpm ... =================="
cd /root/pkg && yum install -y *.rpm
if [ $? == 0 ]; then
echo "================== install oceanbase rpm ok =================="
else
echo "================== install oceanbase rpm failed =================="
exit -1
fi
cd "${CWD}"
python3 ./init_store_for_fast_start.py /home/admin/oceanbase/bin/observer . /root/dest /root/dest/etc -d /root/store
if [ $? == 0 ]; then
echo "================== prepare fast boot finish ===================="
else
echo "================== prepare fast boot failed ===================="
exit -1
fi