-
Notifications
You must be signed in to change notification settings - Fork 334
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
本地单机模拟测试会失败 #24
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在ConnWorker.cpp文件, clsConnWorker::HandleNego函数,
会检查是否为当前paxos内部的IP, 并会在361行会重置ServerId的信息。
如果像 README 例子中一样直接使用本地来启动三个card_srv会引发各种问题。
测试时,可以将ConnWorker.cpp 361行 注释掉。
// poNegoCtx->SetServerID(i);
线上系统注释掉的问题也不大。作为paxos应该信任内部结点的信息, 不存在拜占庭将军问题,如果不信任应该用其他加密方式来初始化链接,而不是暴力重置server_id。
The text was updated successfully, but these errors were encountered: