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

Enhance logging so new log files no longer need to wait for the previous log file to be synced

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage 2017-03-27, Storage 2017-04-17, Storage 2017-05-08, Storage 2017-05-29, Storage 2017-06-19, Storage 2017-07-10

      There was a recent bug fix in WT-3000 that means each time WiredTiger switches to a new log file writes need to wait for the previous log file to be flushed before proceeding. That is because otherwise there could be undetected gaps in the log.

      An alternative to waiting for the flush would be to write a header record in each new log file indicating the last-known log record location. That would not need to be flushed, and could be used by recovery to verify log file completeness.

      The down side of this change is that it introduces a log format change.

      It is only of interest to applications that don't configure for synchronous log file writes.

            sue.loverso@mongodb.com Susan LoVerso
            alexander.gorrod@mongodb.com Alexander Gorrod
            0 Vote for this issue
            3 Start watching this issue