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

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

[~amaliujia], let's discuss the design first before changing the code.  First 
of all, let's study [the 
requirement|https://issues.apache.org/jira/browse/RATIS-624?focusedCommentId=17168296&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17168296].

bq. In Ozone, once an OM realizes that it is lagging behind, it would call this 
RaftServer#pause 

Since the server is detecting itself, we probably don't have to add a new API 
to RaftClient.


> RaftServer should support pause/ unpause in its LifeCycle state
> ---------------------------------------------------------------
>
>                 Key: RATIS-624
>                 URL: https://issues.apache.org/jira/browse/RATIS-624
>             Project: Ratis
>          Issue Type: Task
>            Reporter: Hanisha Koneru
>            Assignee: Rui Wang
>            Priority: Major
>              Labels: ozone
>             Fix For: 1.1.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This Jira aims to add support to RaftServer to support pause and unpause to 
> its state. When paused, the RaftServer should not accept any incoming append 
> log entries.



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

Reply via email to