Skip to content

Commit

Permalink
fix: 修复tendbcluster从库重建获取元数据错误 TencentBlueKing#6730
Browse files Browse the repository at this point in the history
  • Loading branch information
zfrendo authored and iSecloud committed Sep 6, 2024
1 parent fd5aa92 commit 7e1d036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def tendb_remote_slave_recover(self):
raise MasterInstanceNotExistException(
cluster_type=cluster_class.cluster_type, cluster_id=cluster_class.id
)
master = StorageInstance.objects.get(slave_tuple[0].ejector_id)
master = StorageInstance.objects.get(id=slave_tuple[0].ejector_id)

db_config = get_instance_config(cluster_class.bk_cloud_id, master.machine.ip, cluster_info["ports"])

Expand Down

0 comments on commit 7e1d036

Please sign in to comment.