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 committed Sep 14, 2024
1 parent cd42c1a commit 99acd39
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 99acd39

Please sign in to comment.