-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Prefer monotonic time for lastLeaderTimestamp #24
Labels
Milestone
Comments
killme2008
added
good first issue
Good for newcomers
enhancement
New feature or request
labels
Mar 8, 2019
killme2008
pushed a commit
that referenced
this issue
Mar 9, 2019
Merged
fengjiachun
pushed a commit
that referenced
this issue
Mar 10, 2019
* (fix) Ignore preVote request if there is a leader that it's lease is still valid. * (fix) Use monotonic time for lastLeaderTimestamp and refactor, #24 * (fix) typo and error log
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's better to use monotonic time for
lastLeaderTimestamp
inNodeImpl
.It represents the last timestamp that the node received request from leader, and it should be monotonic.The text was updated successfully, but these errors were encountered: