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

Prefer monotonic time for lastLeaderTimestamp #24

Closed
killme2008 opened this issue Mar 8, 2019 · 0 comments
Closed

Prefer monotonic time for lastLeaderTimestamp #24

killme2008 opened this issue Mar 8, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Milestone

Comments

@killme2008
Copy link
Contributor

It's better to use monotonic time for lastLeaderTimestamp in NodeImpl.It represents the last timestamp that the node received request from leader, and it should be monotonic.

@killme2008 killme2008 added good first issue Good for newcomers enhancement New feature or request labels Mar 8, 2019
@fengjiachun fengjiachun added this to the 1.2.4 milestone Mar 8, 2019
@fengjiachun fengjiachun added this to To do in v1.2.4 via automation Mar 8, 2019
@fengjiachun fengjiachun self-assigned this Mar 8, 2019
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
v1.2.4 automation moved this from To do to Done Mar 10, 2019
This was referenced Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
No open projects
v1.2.4
  
Done
Development

No branches or pull requests

2 participants