[SERVER-16266] Change wiredtiger engine name to wiredTiger for consistency Created: 21/Nov/14  Updated: 27/Oct/15  Resolved: 21/Nov/14

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 2.8.0-rc1

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

Issue Links:
Documented
is documented by DOCS-4451 Ensure that all instances of WT strin... Closed
Related
related to SERVER-16302 Support "wiredTiger" in createCollect... Closed
Backwards Compatibility: Major Change
Participants:

 Description   

Need to be consistent with our naming, and need to do this before GA.

This will need to be fixed in documentation, MCI, and other collateral.

Need to also make the name a string constant in the code:

monkey101:(git)mongo[master]/src/mongo$ git grep \"wiredtiger\"
SConscript:Import("wiredtiger")
db/storage/wiredtiger/SConscript:Import("wiredtiger")
db/storage/wiredtiger/wiredtiger_init.cpp:        getGlobalEnvironment()->registerStorageEngine("wiredtiger", new WiredTigerFactory() );
db/storage/wiredtiger/wiredtiger_record_store.cpp:        BSONForEach(elem, options.storageEngine.getObjectField("wiredtiger")) {
db/storage/wiredtiger/wiredtiger_record_store.cpp:        BSONObj blockManager = obj["wiredtiger"].Obj()["block-manager"].Obj();
db/storage/wiredtiger/wiredtiger_record_store.cpp:        BSONObjBuilder bob(output->subobjStart("wiredtiger"));
db/storage/wiredtiger/wiredtiger_record_store.cpp:        BSONObjBuilder bob(result->subobjStart("wiredtiger"));
db/storage/wiredtiger/wiredtiger_record_store.h:        virtual const char* name() const { return "wiredtiger"; }
db/storage/wiredtiger/wiredtiger_server_status.cpp:        : ServerStatusSection("wiredtiger"),
db/storage/wiredtiger/wiredtiger_server_status.h:     * Adds "wiredtiger" to the results of db.serverStatus().



 Comments   
Comment by Daniel Pasette (Inactive) [ 21/Nov/14 ]

We forgot this case:

> db.createCollection("aaab", {storageEngine: {wiredTiger: {configString: "block_compressor=zlib"}}})
{
	"ok" : 0,
	"errmsg" : "'storageEngine.wiredTiger' options do not match, and cannot be used, for the currently enabled storage engine of 'wiredtiger'",
	"code" : 2
}

max.hirschhorn@10gen.com, can you handle next week with a new ticket?

Comment by Githook User [ 21/Nov/14 ]

Author:

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

Message: SERVER-16266 Change wiredtiger engine name to wiredTiger.
Branch: master
https://github.com/mongodb/mongo/commit/8bfae19e291e6ee6e963d2ccc8aa2535ff7c86c4

Comment by Daniel Pasette (Inactive) [ 21/Nov/14 ]

max, when you make the change, can you also allow wiredtiger (no camelcase) work as well? the RC is already out....

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