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

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

[~szetszwo]
bq. That's a good point. How about when s2 receives the vote request from s1, 
it will compare the log. If s2's log is lag behind, then s2 will vote for s1 
even s2 has a higher priority.

I agree.  Could I start to change the code ?


was (Author: yjxxtd):
bq. That's a good point. How about when s2 receives the vote request from s1, 
it will compare the log. If s2's log is lag behind, then s2 will vote for s1 
even s2 has a higher priority.

I agree.  Could I start to change the code ?

> Transfer leadership from leader to follower
> -------------------------------------------
>
>                 Key: RATIS-967
>                 URL: https://issues.apache.org/jira/browse/RATIS-967
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: raft-group
>    Affects Versions: 0.5.0
>            Reporter: maobaolong
>            Assignee: runzhiwang
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> With this api, we can transition leader state to a specify one for datanodes 
> in the same pipeline, OM group and SCM group.



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

Reply via email to