Skip to content

Commit

Permalink
fix(sqlserver): 修复SQLserver重置出现元数据变更异常的问题 #8909
Browse files Browse the repository at this point in the history
  • Loading branch information
yksitu committed Jan 6, 2025
1 parent e34ead2 commit aefc835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_meta/api/cluster/sqlserverha/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def cluster_reset(
# 删除旧的服务实例
cc_manage.delete_service_instance(bk_instance_ids=[i.bk_instance_id for i in objs])
# 删除cluster模块
ClusterMonitorTopo.objects.filter(bk_biz_id=cluster.bk_biz_id, cluster_id=cluster.id).delete()
ClusterMonitorTopo.objects.filter(cluster_id=cluster.id).delete()

# 创建模块
SqlserverCCTopoOperator(cluster).transfer_instances_to_cluster_module(instances=objs, is_increment=True)
Expand Down

0 comments on commit aefc835

Please sign in to comment.