[
https://issues.apache.org/jira/browse/RATIS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174429#comment-17174429
]
Tsz-wo Sze commented on RATIS-967:
----------------------------------
[~yjxxtd], Let's talk about the design before changing the code.
It seems better to have a "preferred leader" instead of "transferring
leadership". "Preferred leader" means that if the server is available, the
other servers will yield the leadership to it.
We may write the "preferred leader" to the log so that it will work even after
restart.
> 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)