diff --git a/dbm-ui/backend/flow/utils/mysql/common/random_job_with_ticket_map.py b/dbm-ui/backend/flow/utils/mysql/common/random_job_with_ticket_map.py index 3573818578..fab94f1db1 100644 --- a/dbm-ui/backend/flow/utils/mysql/common/random_job_with_ticket_map.py +++ b/dbm-ui/backend/flow/utils/mysql/common/random_job_with_ticket_map.py @@ -43,8 +43,14 @@ class RuleDict: TicketType.MYSQL_IMPORT_SQLFILE: RuleDict( exec_storage_instance_role_list=[InstanceRole.BACKEND_MASTER, InstanceRole.ORPHAN] ), + # mysql 强制变更SQL执行添加账号规则 + TicketType.MYSQL_FORCE_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), + # tendb_cluster集群强制SQL执行添加账号规则 + TicketType.TENDBCLUSTER_FORCE_IMPORT_SQLFILE: RuleDict(is_tdbctl_primary_add=True), }