You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/12/17 07:20:00 UTC
[jira] [Commented] (RATIS-1245) Support change priority dynamically
[ https://issues.apache.org/jira/browse/RATIS-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250854#comment-17250854 ]
Tsz-wo Sze commented on RATIS-1245:
-----------------------------------
Since priority is stored in RaftPeer, we could use RaftClient.setConfiguration to change priority. It needs some tests.
> Support change priority dynamically
> -----------------------------------
>
> Key: RATIS-1245
> URL: https://issues.apache.org/jira/browse/RATIS-1245
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Assignee: runzhiwang
> Priority: Major
>
> In HA case, such as there are three server: server1, server2, server3, server1 is the leader, if we want to upgrade leader, we can upgrade server2, and then assign server2 with the highest priority, then server2 will try to grab the leader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)