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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Sue LoVerso
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: