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

Don't re-read log file headers during log_flush

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.9.0, 3.2.10, 3.3.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: