[ 
https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892193#comment-17892193
 ] 

yuuka commented on RATIS-2177:
------------------------------

After further investigation, it was found that this part of the gap index < 
snapshotIndex. Therefore, after taking a snapshot when shutting down the 
server, all SegmentLog < snapshotIndex should be cleaned up

> A gap was found when restarting
> -------------------------------
>
>                 Key: RATIS-2177
>                 URL: https://issues.apache.org/jira/browse/RATIS-2177
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: yuuka
>            Priority: Major
>         Attachments: image-2024-10-23-21-09-55-906.png
>
>
> During the restart, a gap was discovered while replaying the logs.
> After the assertion is triggered, it will cause the RaftServer to fail to 
> start.
>  
> !image-2024-10-23-21-09-55-906.png!
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to