[ 
https://issues.apache.org/jira/browse/RATIS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176220#comment-17176220
 ] 

runzhiwang edited comment on RATIS-967 at 8/12/20, 11:17 AM:
-------------------------------------------------------------

bq. s1 and s2 must wait for s3 to reply vote request until timeout since they 
know that s3 has a higher priority.

[~szetszwo] Yes, but if s3's log lag behind s1 or s2's, s3 will reply grantVote 
to s1 or s2,  then s3 will not be elected as a leader. 
Maybe it will cause vote complicated, but the income may not be so good.


was (Author: yjxxtd):
bq. s1 and s2 must wait for s3 to reply vote request until timeout since they 
know that s3 has a higher priority.

[~szetszwo] Yes, but if s3's log lag behind s1 or s2's, s3 will reply grantVote 
to s1 or s2,  then s3 will not be elected as a leader. 
My consideration is it will cause vote complicated, but the income may not be 
so good.

> Support priority when elect leader
> ----------------------------------
>
>                 Key: RATIS-967
>                 URL: https://issues.apache.org/jira/browse/RATIS-967
>             Project: Ratis
>          Issue Type: Task
>          Components: raft-group
>    Affects Versions: 0.5.0
>            Reporter: maobaolong
>            Assignee: runzhiwang
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to