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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Emilio Scalise
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: