[
https://issues.apache.org/jira/browse/RATIS-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071636#comment-18071636
]
ChenXi commented on RATIS-2499:
-------------------------------
RATIS-2427 let the LogAppender do not restart when the LogAppenderDaemon in
CLOSING or CLOSED or EXCEPTION LifeCycle.States . However, if only
LogAppenderDaemon is set to EXCEPTION LifeCycle, we should still restart
LogAppender.
LeaderStateImpl#restart will create a new GrpcLogAppender (see
addAndStartSenders -> addSenders -> LeaderStateImpl#newLogAppender) and a new
LogAppenderDaemon.
Therefore, if the old `daemon` enters the EXCEPTION lifecycle for some reason,
we should attempt to restart LogAppender
> Allow the LogAppender restart when LogAppenderDaemon exception
> --------------------------------------------------------------
>
> Key: RATIS-2499
> URL: https://issues.apache.org/jira/browse/RATIS-2499
> Project: Ratis
> Issue Type: Bug
> Reporter: ChenXi
> Assignee: ChenXi
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)