!663 fix 扩容卡主问题

Merge pull request !663 from liuheng/fix11
This commit is contained in:
opengauss_bot 2024-01-04 09:23:29 +00:00 committed by Gitee
commit 1298c917c9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -754,7 +754,6 @@ gs_guc set -D {dn} -c "available_zone='{azName}'"
primaryHost = self.getPrimaryHostName()
dataNode = self.context.clusterInfoDict[primaryHost]["dataNode"]
command = "source %s; gs_ctl reload -D %s " % (self.envFile, dataNode)
command = CmdUtil.get_user_exec_cmd(self.context.current_user_root, user, command)
sshTool = SshTool([primaryHost])
self.logger.debug(command)
resultMap, outputCollect = sshTool.getSshStatusOutput(command,