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

Skip checkpoints while stable timestamp doesn't change

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • None
    • v4.0

    Description

      At the moment WiredTiger skips creating checkpoints if there is no dirty content in a btree. We could add a similar check - but further up the checkpoint creation code, that skips creating a new global checkpoint if:

      • The checkpoint isn't forced or named
      • The checkpoint is based on the stable timestamp
      • The stable timestamp hasn't changed since the previous checkpoint started.

      Skipping such checkpoints will save a lot of busy work currently necessary when the stable timestamp isn't moving forward.

      Attachments

        Activity

          People

            alexander.gorrod@mongodb.com Alexander Gorrod
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: