[SERVER-17861] Change the default storage engine to wiredTiger Created: 02/Apr/15  Updated: 03/Jan/18  Resolved: 29/May/15

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

Type: Task Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-18630 Replace runMongoProgram("mongod", ...... Closed
depends on SERVER-18635 transitioning_to_and_from_WT.js shoul... Closed
depends on SERVER-18673 ScopedThreads used by parallel suite ... Closed
Duplicate
is duplicated by SERVER-538 SetProcessWorkingSetSizeEx for win32? Closed
Backwards Compatibility: Major Change
Sprint: Quint Iteration 3.1.2, Quint Iteration 3, Quint Iteration 4
Participants:
Case:

 Description   

A proposal for handling users upgrading from 3.x to 3.2:
If a mongod is started without --storageEngine and the storage.bson file in the dbpath indicates mmapv1, then set the global storage engine as mmapv1. Otherwise, set the global storage engine as wiredTiger.

A proposal for handling users upgrading from 2.6 to 3.2:
If a mongod is started without --storageEngine and the local.ns file exists in the dbpath, then set the global storage engine as mmapv1. Otherwise, set the global storage engine as wiredTiger. This allows users to upgrade directly from 2.6 to 3.2, even though the storage.bson file would not exist.



 Comments   
Comment by Githook User [ 28/May/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-17861 Change the default storage engine to wiredTiger.

WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
Branch: master
https://github.com/mongodb/mongo/commit/610fab503c216c163c568065a861c2ef95513b3d

Comment by Max Hirschhorn [ 27/May/15 ]

Reverted due to failures with the parallel suite. Global variables, such as TestData, are not copied into the new v8 isolate used by a ScopedThread. This causes started threads to view the active storage engine as wiredTiger (since typeof TestData.storageEngine === 'undefined'), when in fact it is mmapv1. Filed SERVER-18673.

Comment by Githook User [ 27/May/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: Revert "SERVER-17861 Change the default storage engine to wiredTiger."

This reverts commit a335b35b2e95538220941960764e6f60136b3973.
Branch: master
https://github.com/mongodb/mongo/commit/12d9dea1912757d703d60473baf37a5dc79a8883

Comment by Githook User [ 27/May/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-17861 Change the default storage engine to wiredTiger.

WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
Branch: master
https://github.com/mongodb/mongo/commit/a335b35b2e95538220941960764e6f60136b3973

Comment by Githook User [ 22/May/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: Revert "SERVER-17861 Change the default storage engine to wiredTiger."

This reverts commit 38862aaa17e06e5e6733598bbb487774cb3616f7.
Branch: master
https://github.com/mongodb/mongo/commit/841c50f3e7a8da9831a5e8c7c9ad9a22b12a17de

Comment by Githook User [ 22/May/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-17861 Change the default storage engine to wiredTiger.

WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
Branch: master
https://github.com/mongodb/mongo/commit/38862aaa17e06e5e6733598bbb487774cb3616f7

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