Skip to content

Commit

Permalink
555
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Oct 21, 2024
1 parent ce21125 commit b6b0023
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def tendbha_cluster_upgrade_subflow(
)
),
)
ro_switch_ro_sub_piplelines.append(ro_switch_ro_sub_pipleline.build_sub_process(sub_name=_("切换从节点")))
ro_switch_ro_sub_piplelines.append(ro_switch_ro_sub_pipleline.build_sub_process(sub_name=_("切换RO从节点")))
# 安装mysql
ms_sub_pipeline = SubBuilder(root_id=root_id, data=parent_global_data)
bk_host_ids = [new_master["bk_host_id"], new_slave["bk_host_id"]]
Expand Down Expand Up @@ -1056,6 +1056,8 @@ def build_ms_pair_switch_sub_pipelines(
),
)
switch_sub_pipeline_list.append(
switch_sub_pipeline.build_sub_process(sub_name=_("切换到新从节点:{}").format(new_slave_ip))
switch_sub_pipeline.build_sub_process(
sub_name=_("集群切换到新主从节点:new-master:{},new-slave:{}").format(new_master_ip, new_slave_ip)
)
)
return switch_sub_pipeline_list

0 comments on commit b6b0023

Please sign in to comment.