提交 319b8412 编写于 作者: haoranc's avatar haoranc

[TD-5219]<release>modify make_install.sh

上级 ba090e22
...@@ -421,7 +421,7 @@ function install_service() { ...@@ -421,7 +421,7 @@ function install_service() {
} }
function update_TDengine() { function update_TDengine() {
echo -e "${GREEN}Start to update TDEngine...${NC}" echo -e "${GREEN}Start to update TDengine...${NC}"
# Stop the service if running # Stop the service if running
if [ "$osType" != "Darwin" ]; then if [ "$osType" != "Darwin" ]; then
......
...@@ -86,7 +86,7 @@ class TwoClients: ...@@ -86,7 +86,7 @@ class TwoClients:
tdSql.execute("alter table stb2_0 add column col2 binary(4)") tdSql.execute("alter table stb2_0 add column col2 binary(4)")
tdSql.execute("alter table stb2_0 drop column col1") tdSql.execute("alter table stb2_0 drop column col1")
tdSql.execute("insert into stb2_0 values(1614218422000,8638,'R')") tdSql.execute("insert into stb2_0 values(1614218422000,8638,'R')")
tdSql.execute("drop dnode 10") tdSql.execute("drop dnode 2")
sleep(10) sleep(10)
os.system("rm -rf /var/lib/taos/*") os.system("rm -rf /var/lib/taos/*")
print("clear dnode chenhaoran02'data files") print("clear dnode chenhaoran02'data files")
...@@ -97,9 +97,6 @@ class TwoClients: ...@@ -97,9 +97,6 @@ class TwoClients:
tdSql.execute("create dnode chenhaoran02 ;") tdSql.execute("create dnode chenhaoran02 ;")
# stop taosd and compact wal file # stop taosd and compact wal file
os.system("ps -ef |grep taosd |grep -v 'grep' |awk '{print $2}'|xargs kill -2") os.system("ps -ef |grep taosd |grep -v 'grep' |awk '{print $2}'|xargs kill -2")
sleep(10) sleep(10)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册