diff --git a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterShardUpdate.ts b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterShardUpdate.ts index 4c7ea5cc5a..1eaa450928 100644 --- a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterShardUpdate.ts +++ b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterShardUpdate.ts @@ -54,6 +54,7 @@ export async function generateRedisClusterShardUpdateCloneData( clusterType: currentClusterInfo.cluster_spec.spec_cluster_type, clusterTypeName: currentClusterInfo.cluster_type_name, currentShardNum: currentClusterInfo.cluster_shard_num, + groupNum: currentClusterInfo.machine_pair_cnt, currentSpecId: currentClusterInfo.cluster_spec.spec_id, dbVersion: item.db_version, specConfig: { @@ -66,10 +67,6 @@ export async function generateRedisClusterShardUpdateCloneData( id: currentClusterInfo.proxy[0].spec_config.id, count: new Set(currentClusterInfo.proxy.map((item) => item.ip)).size, }, - backendGroup: { - id: currentClusterInfo.cluster_spec.spec_id, - count: currentClusterInfo.redis_master.length, - }, }; }); return { diff --git a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterTypeUpdate.ts b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterTypeUpdate.ts index 0e2b02470c..b50d95c8a9 100644 --- a/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterTypeUpdate.ts +++ b/dbm-ui/frontend/src/hooks/useTicketCloneInfo/generateCloneData/redis/clusterTypeUpdate.ts @@ -53,6 +53,7 @@ export async function generateRedisClusterTypeUpdateCloneData(ticketData: Ticket currentSepc: `${currentClusterInfo.cluster_capacity}G_${currentClusterInfo.cluster_spec.qps.max}/s${t('(n 分片)', { n: currentClusterInfo.cluster_shard_num })}`, targetClusterType: item.target_cluster_type, currentShardNum: currentClusterInfo.cluster_shard_num, + groupNum: currentClusterInfo.machine_pair_cnt, clusterTypeName: currentClusterInfo.cluster_type_name, currentSpecId: currentClusterInfo.cluster_spec.spec_id, dbVersion: item.db_version, @@ -66,10 +67,6 @@ export async function generateRedisClusterTypeUpdateCloneData(ticketData: Ticket id: currentClusterInfo.proxy[0].spec_config.id, count: new Set(currentClusterInfo.proxy.map((item) => item.ip)).size, }, - backendGroup: { - id: currentClusterInfo.cluster_spec.spec_id, - count: currentClusterInfo.redis_master.length, - }, }; }); return { diff --git a/dbm-ui/frontend/src/views/db-manage/redis/capacity-change/pages/page1/components/ClusterDeployPlan.vue b/dbm-ui/frontend/src/views/db-manage/redis/capacity-change/pages/page1/components/ClusterDeployPlan.vue index c9c217456a..b43ea304b9 100644 --- a/dbm-ui/frontend/src/views/db-manage/redis/capacity-change/pages/page1/components/ClusterDeployPlan.vue +++ b/dbm-ui/frontend/src/views/db-manage/redis/capacity-change/pages/page1/components/ClusterDeployPlan.vue @@ -186,6 +186,7 @@
{{ t('集群部署方案') }}