Xinyu Tan created RATIS-2136:
--------------------------------
Summary: Fixed the issue that RatisServer could not start after
frequent restarts
Key: RATIS-2136
URL: https://issues.apache.org/jira/browse/RATIS-2136
Project: Ratis
Issue Type: Bug
Reporter: Xinyu Tan
Assignee: Xinyu Tan
Attachments: image-2024-08-08-14-48-17-943.png,
image-2024-08-08-14-48-33-657.png
!image-2024-08-08-14-48-17-943.png!
!image-2024-08-08-14-48-33-657.png!
Currently, in the key write path of Ratis, segment switching and log
persistence are asynchronous. Therefore, when Ratis shuts down triggering an
automatic snapshot or when a user manually triggers a snapshot, it is possible
that the snapshot has already been generated while the corresponding log has
not yet been persisted. In such cases, a restart might fail. This issue needs
to be fixed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)