From 845e52135588ab9c9dd414b69eac1e3187100436 Mon Sep 17 00:00:00 2001 From: yyhenryyy Date: Mon, 25 Nov 2024 17:37:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(mongodb):=20=E8=BF=81=E7=A7=BB=E5=85=83?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=85=B3=E9=97=AD=E8=80=81=E7=9A=84dbmon?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=BF=AE=E5=A4=8D=20#8159?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py b/dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py index 41d96db7cf..57f9032efd 100644 --- a/dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py +++ b/dbm-ui/backend/flow/utils/mongodb/mongodb_script_template.py @@ -164,8 +164,5 @@ def prepare_recover_dir_script(dest_dir: str) -> str: /home/mysql/filebeat-deploy/remove /home/mysql/filebeat-deploy/stop_watcher /home/mysql/filebeat-deploy/stop_filebeat -num=`pgrep prome_exporter_manager |wc -l` -if [[ $num > 0 ]]; then -killall -9 prome_exporter_manager -fi +killall -9 prome_exporter_manager | echo true """