From a0c6a55712f1995d4b53caa118df0a53568ddabd Mon Sep 17 00:00:00 2001 From: z00848344 Date: Wed, 8 May 2024 14:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=A9=E5=AE=B9=E5=90=8E?= =?UTF-8?q?=E6=89=A9=E5=AE=B9=E8=BF=87=E7=A8=8B=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/impl/expansion/ExpansionImpl.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/script/impl/expansion/ExpansionImpl.py b/script/impl/expansion/ExpansionImpl.py index ea01520..50612ff 100644 --- a/script/impl/expansion/ExpansionImpl.py +++ b/script/impl/expansion/ExpansionImpl.py @@ -1006,19 +1006,6 @@ gs_guc set -D {dn} -c "available_zone='{azName}'" self.is_rename_tblspc_dir(host, pgxc_node_name, tblspc_path) pvalue.value = 1 - def change_user_tblspc(self): - """ - Check tblspc directory with db om user - """ - p_value = Value('i', 0) - proc = Process(target=self.check_tblspc_directory, args=(p_value,)) - proc.start() - proc.join() - if not p_value.value: - sys.exit(1) - else: - proc.terminate() - def check_new_node_state(self, is_root_user): """ Check new node state. @@ -1098,7 +1085,6 @@ gs_guc set -D {dn} -c "available_zone='{azName}'" if DefaultValue.get_cm_server_num_from_static(self.context.clusterInfo) > 0: self.logger.debug("Check new host state after restart.") return - self.change_user_tblspc() self.check_new_node_state(False) def getGUCConfig(self):