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

Creating collections should error with invalid storage options

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.8.0-rc0
    • Admin, Storage
    • None
    • ALL

    Description

      When storage options are used which cannot be satisfied, like wired tiger options when running with mmapv1, then the command should fail:

      This should fail under mmapv1, but doesn't now:

      > db.createCollection("foo", {storageEngine: {wiredtiger: {configString: "block_compressor=zlib"}}})
      {ok:1}

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: