A syncdelay value of 0 causes the WiredTigerCheckpointThread to run as often as possible

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc9, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-06-01, Execution Team 2020-06-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The help text for the --syncdelay command line argument (which populates wiredTigerGlobalOptions.checkpointDelaySecs) indicates that a value of 0 will stop the checkpoint thread from running at all.

      In the actual thread, though, it gets interpreted as a delay of 0, causing it to loop as fast as it can:
      https://github.com/mongodb/mongo/blob/b758eb90dd982460af62fbb61737f935dae9b828/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L379-L381

              Assignee:
              Dianna Hohensee (Inactive)
              Reporter:
              Justin Seyster
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: