Skip to content

Commit

Permalink
fix(mongodb): mongodb元数据迁移增加disaster_tolerance_level字段 TencentBlueKin…
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Sep 18, 2024
1 parent 51379c3 commit 7fde93e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def get_migrate_info(self) -> dict:
"region": self.source_cluster_info.get("region"),
"db_module_id": DEFAULT_DB_MODULE_ID,
"cluster_type": self.source_cluster_info.get("cluster_type"),
"disaster_tolerance_level": self.source_cluster_info.get("disaster_tolerance_level"),
}
if self.source_cluster_info.get("cluster_type") == ClusterType.MongoReplicaSet.value:
# role转换
Expand Down

0 comments on commit 7fde93e

Please sign in to comment.