You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/08/07 05:07:00 UTC
[jira] [Commented] (RATIS-624) RaftServer should support pause/
unpause in its LifeCycle state
[ https://issues.apache.org/jira/browse/RATIS-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172887#comment-17172887 ]
Rui Wang commented on RATIS-624:
--------------------------------
I have been reading Ratis code in the last several days. Right now my thought is, we gonna need add pause/unpause (should be only one API though) to RaftServerProtocol interface. So RaftServer that implements RaftServerProtocol will implement pause/unpause.
After this is done. In Ozone, when a OM Ratis server is lagging behind, I guess a person can use a client to pause that server, ask the server to install snapshot, and unpause it.
Does this sound right to you?
> 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
>
>
> 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)