Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mysql): 获取从库域名 #8608 #8665

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

zfrendo
Copy link
Collaborator

@zfrendo zfrendo commented Dec 17, 2024

No description provided.

@zfrendo zfrendo self-assigned this Dec 17, 2024
@zfrendo
Copy link
Collaborator Author

zfrendo commented Dec 17, 2024

1、tendbHa 原地重建/slave新机重建/主从迁移切换时对于standby节点的处理。
增加读取主节点slave_entry域名设置指向
主节点删除slave_entry域名关联的所有元数据
测试时候需模拟主库故障,即standby从库域名指向主库。
2、tendbHa/tendbCluster回档添加判断:
如果指定了部分库表回档,则不执行stop slave。否则执行stop slave操作。

@zfrendo
Copy link
Collaborator Author

zfrendo commented Dec 17, 2024

image image image

@zfrendo zfrendo force-pushed the fix/getstandbyDns/#8608 branch from ddad95c to a385071 Compare December 24, 2024 02:01
@iSecloud iSecloud merged commit d1c1adb into TencentBlueKing:v1.5.0 Dec 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants