[
https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892348#comment-17892348
]
yuuka commented on RATIS-2177:
------------------------------
* It is currently unclear whether the gap is caused by taking snapshots when
closing RaftServer or replaying logs when RaftServer is restarted. However, it
can be determined that the segment with gap in the description is outdated
because the index is less than the snapshotIndex
* There is no manual execution of Segment deletion, and it is not ruled out
that cleaning Segments starts from a larger index. If so, there is indeed a
possibility of a gap.
> 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)