[
https://issues.apache.org/jira/browse/IGNITE-22638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-22638:
--------------------------------------
Description:
To perform catalog compaction, we need to determine and save a minimum time
(low watermark) that guarantees that when next time we'll apply the raft log,
we don't need the history up to that timestamp.
To implement determination of the minimum local timestamp (*TBD JIRA ISSUE#*),
we need to provide an API with semantics similar to
CheckpointListener#beforeCheckpointBegin (or afterCheckpointEnd, *to be
clarified*) to transiently save this timestamp.
This timestamp make sence only for groups (*clarify*) with persistence, but it
would be nice to have a common API (for example in MvPartitionStorage). So the
implementation requires collaboration with the storage engine team.
was:
To perform catalog compaction, we need to determine and save a minimum time
(low watermark) that guarantees that when next time we'll apply the raft log,
we don't need the history up to that timestamp.
To implement calculation of the minimum local timestamp, we need to provide an
API with semantics similar to CheckpointListener#beforeCheckpointBegin (or
afterCheckpointEnd, *to be clarified*) to transiently save this timestamp.
This timestamp make sence only for groups (*clarify*) with persistence, but it
would be nice to have a common API (for example in MvPartitionStorage). So the
implementation requires collaboration with the storage engine team.
> Catalog compaction. Provide listener API on MvPartitionStorage with semantic
> onBeforeCheckpoint.
> ------------------------------------------------------------------------------------------------
>
> Key: IGNITE-22638
> URL: https://issues.apache.org/jira/browse/IGNITE-22638
> Project: Ignite
> Issue Type: Task
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> To perform catalog compaction, we need to determine and save a minimum time
> (low watermark) that guarantees that when next time we'll apply the raft log,
> we don't need the history up to that timestamp.
> To implement determination of the minimum local timestamp (*TBD JIRA
> ISSUE#*), we need to provide an API with semantics similar to
> CheckpointListener#beforeCheckpointBegin (or afterCheckpointEnd, *to be
> clarified*) to transiently save this timestamp.
> This timestamp make sence only for groups (*clarify*) with persistence, but
> it would be nice to have a common API (for example in MvPartitionStorage). So
> the implementation requires collaboration with the storage engine team.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)