Skip to content

Commit

Permalink
fix(redis): 主从迁移城市元数据丢失 #6570
Browse files Browse the repository at this point in the history
  • Loading branch information
OMG-By authored and zhangzhw8 committed Sep 2, 2024
1 parent 9cd7754 commit eca02cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def redis_ins_migrate_load_flow(self):
"slave_ip": slave_ip,
"port": ins["backends"]["master"]["port"],
"created_by": self.data["created_by"],
"region": ins.get("city_code", ""),
"region": ins["clusterinfo"]["region"],
"meta_func_name": RedisDBMeta.redis_instance.__name__,
"disaster_tolerance_level": self.data.get("disaster_tolerance_level", AffinityEnum.CROS_SUBZONE),
}
Expand Down

0 comments on commit eca02cd

Please sign in to comment.