Skip to content

Commit 1d15b47

Browse files
JustaCatttiSecloud
authored andcommitted
fix(frontend): tendbcluster回档到原集群缺参数问题处理 #9917
# Reviewed, transaction id: 40898
1 parent 3161d4a commit 1d15b47

File tree

1 file changed

+8
-0
lines changed
  • dbm-ui/frontend/src/views/db-manage/tendb-cluster/TENDBCLUSTER_ROLLBACK_CLUSTER/components/BUILD_INTO_METACLUSTER

1 file changed

+8
-0
lines changed

dbm-ui/frontend/src/views/db-manage/tendb-cluster/TENDBCLUSTER_ROLLBACK_CLUSTER/components/BUILD_INTO_METACLUSTER/Index.vue

+8
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,12 @@
6666
backup_source: 'remote';
6767
backupinfo?: BackupLogRecord; // 如果备份类型为REMOTE_AND_BACKUPID提供集群备份信息
6868
cluster_id: number;
69+
databases: string[];
70+
databases_ignore: string[];
6971
rollback_time?: string;
7072
rollback_type: string; // "REMOTE_AND_BACKUPID/REMOTE_AND_TIME"
73+
tables: string[];
74+
tables_ignore: string[];
7175
target_cluster_id: number;
7276
}[];
7377
rollback_cluster_type: 'BUILD_INTO_METACLUSTER';
@@ -161,8 +165,12 @@
161165
backup_source: 'remote',
162166
backupinfo: item.rollback.backupinfo,
163167
cluster_id: item.cluster.id,
168+
databases: ['*'],
169+
databases_ignore: [],
164170
rollback_time: item.rollback.rollback_time,
165171
rollback_type: item.rollback.rollback_type,
172+
tables: ['*'],
173+
tables_ignore: [],
166174
target_cluster_id: item.cluster.id,
167175
})),
168176
rollback_cluster_type: 'BUILD_INTO_METACLUSTER',

0 commit comments

Comments
 (0)