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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-10-18

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: