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

abnormal log output when exec slaveof no one #2800

Closed
cheniujh opened this issue Jul 12, 2024 · 0 comments
Closed

abnormal log output when exec slaveof no one #2800

cheniujh opened this issue Jul 12, 2024 · 0 comments
Labels
☢️ Bug Something isn't working

Comments

@cheniujh
Copy link
Collaborator

Is this a regression?

Yes

Description

image
从节点执行slaveof no one,先打印了一批remove slaveNode, 附上了这些node 对应的ip。后打印:Remove Master Success, master Ip。
异常的地方有:
1 slave端执行slaveOf no one是脱离和自己master的链接,不应该移除自己的slaveNode(如果有的话),SlaveNode是在Master端对自己slave的一个抽象,其实除了级联情况下,slave节点上压根没有slaveNode,更别谈移除slaveNode了
2 日志中移除的SlaveNode的Ip,和后面的MasterIp是一样的,这明显不对。
补充:
初步测试下来功能还是正常的,主要就是这个日志打印看着异常。

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☢️ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants