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

Don't re-read log file headers during log_flush

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.11, 3.2.10
    • Labels:
      None

      Description

      The __wt_log_flush function needs its own file handle and calls __log_openfile to get one. That has the side effect of re-reading the log header to check that the file is still valid. We don't need that read in the flush path.

        Attachments

          Activity

            People

            • Assignee:
              backlog-server-wt Backlog - WiredTiger Team
              Reporter:
              michael.cahill Michael Cahill
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: