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

Kirill Tkalenko commented on IGNITE-27220:
------------------------------------------

Looks good.

> Store first and last log indices in memory
> ------------------------------------------
>
>                 Key: IGNITE-27220
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27220
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksandr Polovtsev
>            Assignee: Aleksandr Polovtsev
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We currently employ an overcomplicated procedure to find the first and the 
> last indices in the new Raft log storage: we search in the memtables, the 
> checkpoint queue and the storage. This approach is hard to support in 
> presence of other operations (like prefix truncations), so it is proposed to 
> simply cache the latest values in memory and recover them only from the 
> storage on startup.



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

Reply via email to