[SERVER-25970] mongod with WT does not start on Windows unless dbpath is specified Created: 06/Sep/16  Updated: 19/Nov/16  Resolved: 12/Sep/16

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

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-09-19
Participants:

 Description   

If dbpath is not specified, mongod shuts down with the following error message.

2016-09-06T13:57:15.086-0400 I STORAGE  [initandlisten] exception in initAndListen: 40311 Cannot start server. The command line option '--repairpath' is only supported by the mmapv1 storage engine, terminating

This error message was added in: https://github.com/mongodb/mongo/commit/078f29b7ed3361c6d19ce55a7fa32643c9987cbd

This error occurs because dbpath = "c:\data\db" and repairpath = "/data/db" due to this code: https://github.com/mongodb/mongo/blob/master/src/mongo/db/mongod_options.cpp#L1322-L1329



 Comments   
Comment by Githook User [ 09/Sep/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-25970 mongod with WT does not start on Windows unless dbpath is specified
Branch: master
https://github.com/mongodb/mongo/commit/25ff17991ee95d996642eb6684ce37d927863ce7

Generated at Thu Feb 08 04:10:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.