You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr Polovtsev (Jira)" <ji...@apache.org> on 2025/12/01 15:47:00 UTC
[jira] [Updated] (IGNITE-27220) Store first and last log indices in memory
[ https://issues.apache.org/jira/browse/IGNITE-27220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Polovtsev updated IGNITE-27220:
-----------------------------------------
Description: 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.
> 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: 10m
> 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)