Details
-
Bug
-
Resolution: Works as Designed
-
Minor - P4
-
None
-
4.0.0
-
None
-
Windows
Description
When launching mongod.exe with a trailing backslash in the --dbpath parameter
mongod.exe --dbpath "c:\Users\USER\Local Documents\_kode\MongoDB-data\"
|
it fails with
options: { storage: { dbPath: "c:\Users\sosdagmc\Local Documents\_kode\MongoDB-data"" } } |
exception in initAndListen: NonExistentPath: Data directory c:\Users\USER\Local Documents\_kode\MongoDB-data" not found., terminating
|
When launching it without the trailing backslash;
mongod.exe --dbpath "c:\Users\USER\Local Documents\_kode\MongoDB-data" |
it starts with no issues.
options: { storage: { dbPath: "c:\Users\USER\Local Documents\_kode\MongoDB-data" } } |
Detected data files in c:\Users\USER\Local Documents\_kode\MongoDB-data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. |
I'm not sure what the issue is here, but there is an extra " in the first options log, which looks odd.
Attachments
Issue Links
- is related to
-
SERVER-70354 File Path on WiredTiger Error with Trailing Slash on dbPath
-
- Closed
-