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

Preparing a checkpoint for a DeltaFilePageStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • None

    Description

      To implement the DeltaFilePageStore, we need to prepare a checkpoint for their creation.

      What should be done:

      1. Sort dirty pages (FullPageId) by groupId, partitionId, pageIdx;
      2. In several threads, write dirty pages in batches for each partition and know the number of these pages.

      What can we look at:

      • org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow#beginCheckpoint
      • org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow#splitAndSortCheckpointPagesIfNeeded
      • org.apache.ignite.internal.pagememory.persistence.checkpoint.Checkpointer#writePages

      Some implementation notes:

      • We can replace CheckpointWorkflow#parallelSortThreshold with a constant at 40k, according to the paper.

      Attachments

        Issue Links

          Activity

            People

              ktkalenko@gridgain.com Kirill Tkalenko
              ktkalenko@gridgain.com Kirill Tkalenko
              Roman Puchkovskiy Roman Puchkovskiy
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 5h
                  5h