ipv6部署的数据库扩容时发送文件失败
This commit is contained in:
@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user