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

Support "wiredTiger" in createCollection() options

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc1
    • Fix Version/s: 2.8.0-rc2
    • Component/s: Storage
    • Labels:

      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
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              milkie Eric Milkie
              Reporter:
              max.hirschhorn Max Hirschhorn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: