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

Skip checkpoints while stable timestamp doesn't change

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 4.0.0-rc6, WT3.1.0, 4.1.1
    • Component/s: None
    • Labels:
    • Backport Requested:
      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

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

              Dates

              Created:
              Updated:
              Resolved: