ipv6部署的数据库扩容时发送文件失败

This commit is contained in:
axiaxixixixi
2024-08-20 16:23:03 +08:00
parent b9ed84fc96
commit 0c9af82642
6 changed files with 28 additions and 9 deletions

View File

@ -374,6 +374,8 @@ class DropnodeImpl():
if os.path.exists(hosts_file):
FileUtil.removeFile(hosts_file)
FileUtil.write_hosts_file(hosts_file, cluster_hostname_ip_map)
FileUtil.changeMode(DefaultValue.KEY_FILE_MODE, hosts_file)
FileUtil.changeOwner(self.user, hosts_file)
def run(self):
"""