-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
raft lease is always valid when replica is one #2276
raft lease is always valid when replica is one #2276
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done. Thanks for taking care of it.
So, may be cannot accessed when replica set is 1 |
Sorry? I can't follow you. If replica is 1, the leader will always be leader. |
I encountered a bug before, request may be rejected under 1 replica set num, with the error of change leader. |
…0 pr 69 (vesoft-inc#2276) Co-authored-by: dangleptr <37216992+dangleptr@users.noreply.github.com>
…0 pr 69 (vesoft-inc#2276) Co-authored-by: dangleptr <37216992+dangleptr@users.noreply.github.com>
Synchronize storage 2.0 pr 69