Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In 2.0, each checkpoint creates start and end markers on disk to perform a binary recovery if the node crashed in the middle of the checkpoint (there is no end market) which allows us to save the consistency of index.bin files (a special group cache file that stores all the indexes of this group).
Since there is no WAL in 3.0 and indexes will be in each partition file, there is no need for checkpoint markers.
What should be done:
- Get rid of org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointMarkersStorage;
- Remove related tests;
- If logical recovery is not yet supported, then we need to drop the node (throw exceptions at the start of the node) if we crashed in the middle of the checkpoint.
Attachments
Issue Links
- Blocked
-
IGNITE-17077 Implement checkpointIndex for PDS
- Resolved
- is a child of
-
IGNITE-15818 [Native Persistence 3.0] Checkpoint, lifecycle and file store refactoring and re-implementation
- Resolved
- links to