You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2022/06/22 15:51:00 UTC
[jira] [Created] (IGNITE-17215) Write ClusterSnapshotRecord to WAL
Maksim Timonin created IGNITE-17215:
---------------------------------------
Summary: Write ClusterSnapshotRecord to WAL
Key: IGNITE-17215
URL: https://issues.apache.org/jira/browse/IGNITE-17215
Project: Ignite
Issue Type: New Feature
Reporter: Maksim Timonin
Assignee: Maksim Timonin
For PITR [1] process of recovering based on ClusterSnapshot + archived WALs.
It's required to have a point in WAL which splits whole WAL on 2 areas:
# Before this point all data changes are contained within ClusterSnapshot, and no need to recover them from WAL archived files.
# After this point all data need to be recovered from WAL archived files.
It's proposed to write ClusterSnapshotRecord in the moment begin CheckpointRecord has written to WAL. ClusterSnapshot process guarantees:
# there is no active transactions (or any data changes) in moment of writing begin CheckpointRecord.
# ClusterSnapshot consist of data pages that are materialized within this checkpoint process.
Then every logical record after begin CheckointRecord doesn't belong to ClusterSnapshot. Then it's safe to write ClusterSnapshotRecord align with CheckpointRecord.
[1] https://cwiki.apache.org/confluence/pages/editpage.action?pageId=211884314
--
This message was sent by Atlassian Jira
(v8.20.7#820007)