Skip to content

Commit

Permalink
fix(mysql): 优化TenDBCLuster强制变更的随机账号添加 #8961
Browse files Browse the repository at this point in the history
  • Loading branch information
yksitu committed Jan 8, 2025
1 parent 4928cea commit af5b77a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}


Expand Down

0 comments on commit af5b77a

Please sign in to comment.