[SERVER-58085] MongoDB should warn the user if the dbpath is on a Windows network share Created: 25/Jun/21  Updated: 29/Oct/23  Resolved: 11/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Improvement Priority: Major - P3
Reporter: Emilio Scalise Assignee: Reo Kimura (Inactive)
Resolution: Fixed Votes: 2
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-10-18
Participants:
Case:

 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.



 Comments   
Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Reo Kimura', 'email': 'reo.kimura@mongodb.com', 'username': 'rkimura21'}

Message: SERVER-58085 Log startup warning if dbpath is on a Windows network share
Branch: master
https://github.com/mongodb/mongo/commit/5d8743fca79c1e34a5e6060e9e1b7322dc78a305

Generated at Thu Feb 08 05:43:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.