You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "yuuka (Jira)" <ji...@apache.org> on 2024/09/12 01:45:00 UTC
[jira] [Created] (RATIS-2154) Discussion on whether it is necessary to remove unnecessary error logs in JVMPauseMonitor when GC is severe
yuuka created RATIS-2154:
----------------------------
Summary: Discussion on whether it is necessary to remove unnecessary error logs in JVMPauseMonitor when GC is severe
Key: RATIS-2154
URL: https://issues.apache.org/jira/browse/RATIS-2154
Project: Ratis
Issue Type: Wish
Reporter: yuuka
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)