Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13747

Remove obsolete page check in checkpoint skip logic

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • Storage Engines
    • 3

      Checkpoint cleanup was moved to a utility thread in WT-12657. This means removing obsolete pages is no longer performed as part of the normal checkpoint operation.
      The checkpoint skip logic currently checks for obsolete pages in the tree, however, this is no longer necessary because checkpoint will not clean up these pages.

      Here are two places where we no longer need to check for obsolete pages:

                  /*
                   * Don't skip the objects that have obsolete pages to let them to be removed as part of
                   * checkpoint cleanup.
                   */
                  if (__checkpoint_apply_obsolete(session, btree, ckpt))
                      return (0);
      
              /* Skip the clean btree until the btree has obsolete pages. */
              if (skip_ckpt && !F_ISSET(btree, WT_BTREE_OBSOLETE_PAGES)) {
                  F_SET(btree, WT_BTREE_SKIP_CKPT);
                  goto skip;
              }
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: