Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27886

move paths.* into mmapv1

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.4
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • Storage 2017-03-27
    • 0

      src/mongo/db/storage/paths.h and .cpp contains code that is only consumed by mmap, with the exception of flushMyDirectory(). flushMyDirectory() is used by the posix implementation of StorageEngineLockFile::writePid().
      We should move this code into the mmap subdirectory. The flushMyDirectory() can move along with the rest of paths.h into mmap, and a copy can be placed directly into storage_engine_lock_file_posix.cpp.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: