Skip to content

Commit

Permalink
fix(mysql): 修复sql单据对单节点处理异常问题 #7897
Browse files Browse the repository at this point in the history
  • Loading branch information
yksitu authored and iSecloud committed Nov 12, 2024
1 parent 92c64d3 commit cb1bfc7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class RuleDict:
# 定义的单据类型对哪些实例角色来添加随机账号
random_job_with_ticket_map = {
# mysql 变更SQL执行添加账号规则
TicketType.MYSQL_IMPORT_SQLFILE: RuleDict(exec_storage_instance_role_list=[InstanceRole.BACKEND_MASTER]),
TicketType.MYSQL_IMPORT_SQLFILE: RuleDict(
exec_storage_instance_role_list=[InstanceRole.BACKEND_MASTER, InstanceRole.ORPHAN]
),
# tendb_cluster集群SQL执行添加账号规则
TicketType.TENDBCLUSTER_IMPORT_SQLFILE: RuleDict(is_tdbctl_primary_add=True),
}
Expand Down

0 comments on commit cb1bfc7

Please sign in to comment.