[ 
https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yuuka updated RATIS-2177:
-------------------------
    Description: 
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!

 

 

 

  was:
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!

 

 

 


> 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: Improvement
>            Reporter: yuuka
>            Priority: Major
>         Attachments: image-2024-10-23-21-09-55-906.png
>
>          Time Spent: 10m
>  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)

Reply via email to