move paths.* into mmapv1

XMLWordPrintableJSON

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

      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 van Keulen
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: