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

Lokesh Jain commented on RATIS-800:
-----------------------------------

[~yjxxtd] Thanks for working on this! Couple of questions on the use case.
 # If the recommended leader is not able to elect itself as leader, do we want 
some other server to remain leader? The other server might not be an optimal 
choice w.r.t network cost.
 # Balancing the leader in an active ratis ring might be difficult to achieve. 
For a candidate to be elected as leader its term and index should be >= 
follower's term index. Even if we trigger an election it is not guaranteed that 
the datanode will become leader.

> Make Ratis consume recommended leader host from the pipeline creator
> --------------------------------------------------------------------
>
>                 Key: RATIS-800
>                 URL: https://issues.apache.org/jira/browse/RATIS-800
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Li Cheng
>            Assignee: runzhiwang
>            Priority: Critical
>
> Start a Jira for suggested leader sematics. It would help Ratis performance 
> if it can consume the leader host which its upstream user like Ozone 
> recommends. User can choose the leader host based on load balance and rack 
> awareness. 



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

Reply via email to