Support "wiredTiger" in createCollection() options

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc2
    • Affects Version/s: 2.8.0-rc1
    • Component/s: Storage
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
      }
      

            Assignee:
            Eric Milkie
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: