You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "kaijchen (via GitHub)" <gi...@apache.org> on 2023/03/20 08:34:28 UTC
[GitHub] [ratis] kaijchen opened a new pull request, #858: RATIS-1818. Make StartLeaderElection idempotent
kaijchen opened a new pull request, #858:
URL: https://github.com/apache/ratis/pull/858
## What changes were proposed in this pull request?
Currently, it is possible for a leader at term x to send StartLeaderElection twice to a follower, making the follower become term x + 2.
We can make StartLeaderElection idempotent by including a term in StartLeaderElectionRequest. And the handler should ignore the StartLeaderElectionRequest from lower term.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1818
## How was this patch tested?
TODO.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [ratis] kaijchen closed pull request #858: RATIS-1818. Make StartLeaderElection idempotent
Posted by "kaijchen (via GitHub)" <gi...@apache.org>.
kaijchen closed pull request #858: RATIS-1818. Make StartLeaderElection idempotent
URL: https://github.com/apache/ratis/pull/858
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org