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

Naming modules failed to work properly during the nacos capacity expansion #4110

Closed
chuntaojun opened this issue Nov 1, 2020 · 0 comments
Closed
Assignees
Labels
area/Naming kind/bug Category issues or prs related to bug. priority/high Very important, need to be worked with soon but not very urgent
Milestone

Comments

@chuntaojun
Copy link
Collaborator

Describe the bug

A running Nacos cluster, if you want to expand a node at this time, you will find that the raft protocol of the naming module of the original cluster cannot recognize the newly added node, resulting in the naming module not working properly

Expected behavior

  1. The node should be able to join the cluster normally
  2. The old cluster can identify the newly added node, and the new cluster can work normally

Acutally behavior

see this issue : nacos-group/nacos-k8s#166

How to Reproduce
Steps to reproduce the behavior:
1、Run a nacos cluster
2、modify old nacos cluster every member's cluster.conf file in {nacos.home}/conf
3、start a new nacos node that it's cluster.conf have old nacos cluster member info
4、see naming-raft or nacos.log will find err message like "can not find peer xxxx"

Desktop (please complete the following information):

  • OS: Mac os
  • Version nacos-server 1.3.x and 1.4.x
  • Module naming

Additional context
Add any other context about the problem here.

@chuntaojun chuntaojun self-assigned this Nov 1, 2020
@chuntaojun chuntaojun added area/Naming kind/bug Category issues or prs related to bug. labels Nov 1, 2020
@chuntaojun chuntaojun added this to the 1.4.0 milestone Nov 1, 2020
@chuntaojun chuntaojun added the priority/high Very important, need to be worked with soon but not very urgent label Nov 1, 2020
@chuntaojun chuntaojun modified the milestones: 1.4.0, 1.4.1 Nov 1, 2020
chuntaojun added a commit to chuntaojun/nacos that referenced this issue Nov 1, 2020
@chuntaojun chuntaojun mentioned this issue Nov 1, 2020
5 tasks
KomachiSion pushed a commit that referenced this issue Nov 1, 2020
@KomachiSion KomachiSion modified the milestones: 1.4.1, 1.4.0 Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Naming kind/bug Category issues or prs related to bug. priority/high Very important, need to be worked with soon but not very urgent
Projects
None yet
Development

No branches or pull requests

2 participants