[SERVER-16302] Support "wiredTiger" in createCollection() options Created: 24/Nov/14  Updated: 11/Jul/16  Resolved: 03/Dec/14

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

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: wiredtiger
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
is related to SERVER-16266 Change wiredtiger engine name to wire... Closed
Participants:

 Description   

When a mongod is started up with --storageEngine=wiredtiger, then creating a collection does not recognize "wiredTiger" as a way of specifying WT-specific options:

> 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
}



 Comments   
Comment by Eric Milkie [ 03/Dec/14 ]

Note that "--storageEngine=wiredtiger", with a lowercase t, is deprecated and should not be used going forward.

Comment by Eric Milkie [ 03/Dec/14 ]

Fixed via commit in SERVER-16137

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