[
https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze reassigned RATIS-2177:
---------------------------------
Component/s: server
Assignee: yuuka
Issue Type: Bug (was: Improvement)
Summary: Purge should delete segmentLog from small to large according
to logIndex (was: Delete segmentLog from small to large according to logIndex)
> Purge should delete segmentLog from small to large according to logIndex
> ------------------------------------------------------------------------
>
> Key: RATIS-2177
> URL: https://issues.apache.org/jira/browse/RATIS-2177
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: yuuka
> Assignee: yuuka
> Priority: Major
> Attachments: image-2024-10-23-21-09-55-906.png
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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.
>
>
> The deletion of segmentLog is sorted from large to small according to
> logIndex, just change the deletion order
> !image-2024-10-23-21-09-55-906.png!
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)