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

测试add_server1用例发现新加节点无法加入集群问题 #44

Open
rongliang666 opened this issue Mar 21, 2019 · 0 comments
Open

Comments

@rongliang666
Copy link

测试add_server1用例问题发现,新加节点时,若之前集群的log量太大的化,很容易出现新节点无法正常加入到集群的情况。新节点一直无法收到心跳包,导致一直成为Candidate尝试发起新选举。
定位发现,新节点加入时,一次发送的log量太大了,一直无法处理其他请求导致超时。
image

这里
1)能否提供个设置
uint64_t append_entries_size_once;
uint64_t append_entries_count_once;
的对外接口
2)这种新加节点情况,每次都要从最原始日志开始拷贝,重做。有无优化计划

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

No branches or pull requests

1 participant