[
https://issues.apache.org/jira/browse/RATIS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yuuka updated RATIS-2154:
-------------------------
Summary: Discussion on follow-up when deleting unnecessary error logs GC
severe in JVMPauseMonitor (was: Discussion on whether it is necessary to
remove unnecessary error logs in JVMPauseMonitor when GC is severe)
> Discussion on follow-up when deleting unnecessary error logs GC severe in
> JVMPauseMonitor
> -----------------------------------------------------------------------------------------
>
> Key: RATIS-2154
> URL: https://issues.apache.org/jira/browse/RATIS-2154
> Project: Ratis
> Issue Type: Wish
> Reporter: yuuka
> Priority: Major
> Attachments: image-2024-09-12-09-43-30-670.png
>
>
> The leader will become a follower after receiving a higher term, but during
> this process, the old leader may be appending LogEntry, and the error log
> will be printed until LogAppenderDaemon is closed.
> !image-2024-09-12-09-43-30-670.png!
>
> I think we can put state.updateCurrentTerm (newTerm) later. Close LeaderState
> first before updating the term, and other operations remain unchanged.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)