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

MongoDB should warn the user if the dbpath is on a Windows network share

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-10-18

      MongoDB, running on windows, should warn the user if the dbpath is on a Windows network share (eg. \\myserver\myshare).

      Using a dbpath on a network share can cause reliability issues, performance issues and possibly critical errors that can cause MongoDB to crash if the flush commands fail for any reason (eg. unavailability of the network server).

      MongoDB is designed to use locally mounted disks.

      MongoDB could detect this by examining the dbpath configuration value to see if it starts with

      \\

      and throw a startupWarning for this.

            Assignee:
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Reporter:
            emilio.scalise@mongodb.com Emilio Scalise
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: