Skip to content

Commit

Permalink
9999
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Oct 22, 2024
1 parent 0f11cd0 commit adeac49
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def upgrade_tendbha_cluster(self):
need_random_pass_cluster_ids=list(set(cluster_ids)),
)
subflows = []
created_by = self.ticket_data["ticket_type"]
created_by = self.ticket_data["created_by"]
for info in self.ticket_data["infos"]:
subflow = tendbha_cluster_upgrade_subflow(
uid=str(self.ticket_data["uid"]),
Expand All @@ -296,6 +296,7 @@ def upgrade_tendbha_cluster(self):
backup_source=self.ticket_data["backup_source"],
created_by=created_by,
force_uninstall=False,
ticket_type=self.ticket_data["ticket_type"],
)
subflows.append(subflow)

Expand All @@ -316,6 +317,7 @@ def tendbha_cluster_upgrade_subflow(
backup_source: str,
created_by: str,
force_uninstall: bool,
ticket_type: str,
):
"""
一主多从,整个集群升级
Expand Down Expand Up @@ -350,6 +352,7 @@ def tendbha_cluster_upgrade_subflow(
"charset": charset,
"db_version": db_version,
"force": force_uninstall,
"ticket_type": ticket_type,
}
sub_pipeline = SubBuilder(root_id=root_id, data=parent_global_data)

Expand Down

0 comments on commit adeac49

Please sign in to comment.