[SERVER-16082] Server should not startup if other storage engine options are used Created: 11/Nov/14  Updated: 14/Mar/17  Resolved: 11/Jan/15

Status: Closed
Project: Core Server
Component/s: Storage, Usability
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Adam Midvidy Assignee: Unassigned
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8990 Server should not startup if other st... Closed
Related
related to SERVER-16083 Creating collections should error wit... Closed
is related to SERVER-16116 Server should not start if datafiles ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Currenty we just log a warning. I'd argue that we should just return an error and shutdown.

amidvidy ~/Documents/gitroot/mongo $ ./mongod  --wiredTigerCollectionConfig="bad=foo" --storageEngine=mmapv1
Collection option: bad=foo
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] MongoDB starting : pid=27307 port=27017 dbpath=/data/db 64-bit host=vader
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] 
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] ** NOTE: This is a development version (2.7.9-pre-) of MongoDB.
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] **       Not recommended for production.
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] 
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] db version v2.7.9-pre-
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] git version: 0549652e913b4c39dc00ec10bd1895c085b27bf3
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] build info: Linux vader 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] allocator: tcmalloc
2014-11-11T11:40:13.187-0500 I CONTROL  [initandlisten] options: { storage: { engine: "mmapv1", wiredtiger: { collectionConfig: "bad=foo" } } }
2014-11-11T11:40:13.187-0500 W STORAGE  [initandlisten] Detected configuration for non-active storage engine wiredtiger when current storage engine is mmapv1



 Comments   
Comment by Daniel Pasette (Inactive) [ 11/Jan/15 ]

decided to warn only. See: SERVER-15986

Generated at Thu Feb 08 03:39:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.