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

Add conditional around macro definition

    XMLWordPrintable

    Details

    • Type: Build Failure
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.4.0-rc0, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Storage Engines 2020-03-23

      Description

      compile failed on OS X 10.12

      Host: macos-1012-58.macstadium.build.10gen.cc
      Project: WiredTiger (develop)
      Commit: diff: WT-5170 Use mmap for I/O on all data files (#5155)

      • Simplified the implementation to not support file extension and truncation on mmapped files. Reads and writes destined to the outside of the mapped buffer default to the system call path.
      • Added stats to measure how much I/O is done via mmap vs system calls
      • Remap the mapped region if the file is extended via a write beyond the end of the file.
      • Only mmap files that are of type data or log. Code refactoring. Minor bug fixes.
      • Introduce remapping the mmapped region if we extended the file size via the write system call. Do not remap every time we have the opportunity, but only occasionally, to avoid the overhead.
      • Enable fh_extend and remap the region upon file extension.
      • Enable I/O via MMAP for all data files via a runtime option mmap_all.
      • Add low-level testing of mmap_all configuration at 5%.

      Co-authored-by: Sasha Fedorova <sasha.fedorova@10gen.com>
      Co-authored-by: Sasha Fedorova <sasha@mongodb.com>
      Co-authored-by: Keith Bostic <keith.bostic@mongodb.com> | 16 Mar 20 21:25 UTC
      Evergreen Subscription: ; Evergreen Event:

      Task Logs

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.cameron Alex Cameron
              Reporter:
              xgen-evg-user Xgen-Evergreen-User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: