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

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

Your are right.  Server1 should stop accepting write requests and wait for 
server2 to catch up.

For rolling upgrade, we may add a new failover request so that the leader will 
stop accepting new write requests and wait for a particular follower.  The 
clients will get a FailoverException so that they could use a different retry 
policy for failover.

Then, failover will work even without priority.  If there are priority, 
failover must be from a low priority server to a higher or equal priority 
server.  What do you think?

> Support rolling upgrade and rollback
> ------------------------------------
>
>                 Key: RATIS-1247
>                 URL: https://issues.apache.org/jira/browse/RATIS-1247
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>




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

Reply via email to