You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/08/31 12:44:15 UTC

[GitHub] [incubator-ratis] runzhiwang opened a new pull request #187: RATIS-1047. Fix can not elect leader when higher priority server crash

runzhiwang opened a new pull request #187:
URL: https://github.com/apache/incubator-ratis/pull/187


   ## What changes were proposed in this pull request?
   
   For example, s1, s2, s3's priority is (1, 2, 3). If s1 askForVotes, s2 reply success, but s3 crash, so exception happens.
   Then election rejected at [return logAndReturn(Result.REJECTED, responses, exceptions, -1)](https://github.com/runzhiwang/incubator-ratis/blob/052e109bf33bedaf6754c6a26f55c2eb1d9dbae9/ratis-server/src/main/java/org/apache/ratis/server/impl/LeaderElection.java#L351)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1047
   
   
   ## How was this patch tested?
   
   add test.
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ratis] runzhiwang commented on pull request #187: RATIS-1047. Fix can not elect leader when higher priority server crash

Posted by GitBox <gi...@apache.org>.
runzhiwang commented on pull request #187:
URL: https://github.com/apache/incubator-ratis/pull/187#issuecomment-683755235


   @szetszwo Could you help review this patch ? Thank you very much.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ratis] szetszwo merged pull request #187: RATIS-1047. Fix can not elect leader when higher priority server crash

Posted by GitBox <gi...@apache.org>.
szetszwo merged pull request #187:
URL: https://github.com/apache/incubator-ratis/pull/187


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org