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

Skip checkpoints while stable timestamp doesn't change

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • v4.0

      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.

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

              Created:
              Updated:
              Resolved: