Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17228

Get rid of the checkpoint markers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • 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

          Activity

            People

              ktkalenko@gridgain.com Kirill Tkalenko
              ktkalenko@gridgain.com Kirill Tkalenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m