Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16302

Support "wiredTiger" in createCollection() options

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

      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:
            milkie@mongodb.com Eric Milkie
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: