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

WIP: fix_synced_failed #2045

Closed
wants to merge 1 commit into from
Closed

WIP: fix_synced_failed #2045

wants to merge 1 commit into from

Conversation

Mixficsol
Copy link
Collaborator

@Mixficsol Mixficsol commented Sep 27, 2023

背景

当前在 K8s 环境下自动化部署 Pika 集群的时候会出现 Synced_failed 的问题,但是测试后发现其实主从节点双方数据同步本身是没有问题的,只是在 Dashboard 页面上显示出现了问题,原本情况是所有节点都会出现 Synced_failed,本 PR 改到只有从节点出现 Synced_failed,当然这不是最终的解决办法。

想法

目前在 K8s 环境中进行自动化部署 Group 和往里面添加 Pika 并建立主从关系是通过一个脚本文件 admin.sh 来实现的,只是这里有个问题是在一个 Group 中建立主从关系使用的是 codis-admin 命令中的 codis-admin [-v] --dashboard=ADDR --sync-action --create --addr=${KB_POD_FQDN}:9221 调用完这个命令后会出现 Synced_failed 的情况,如果注释掉这行则主从不会进行绑定同时也没有 Synced_failed 的情况。想问下大家如果不用 codis-admin 命令的绑定主从的话还有其他的方法的吗?或者 Synced_failed 的问题怎么去排查,目前通过双击那个绿色的小扳手可以使 Synced_failed 消息移除

修改前:

截屏2023-09-27 10 37 10

修改后:

截屏2023-09-27 10 37 35

讨论

大家有好的想法欢迎在评论区留言

fix: #1967

@Mixficsol Mixficsol added the bug label Sep 27, 2023
@Mixficsol Mixficsol closed this by deleting the head repository Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codis 下出现 synced_failed
1 participant