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

Tsz-wo Sze commented on RATIS-967:
----------------------------------

We may add "preferred leader" to SetConfigurationRequest as a part of the 
configuration so that the request will become a transaction replicated to all 
the servers.  Then, all the servers know who is the preferred leader P.  They 
will yield the leadership to P unless P is dead.

BTW, we may consider adding "leader priority" instead of "preferred leader" to 
each server.  Lower priority servers yield to higher priority servers.

> 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