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

Creating collections should error with invalid storage options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0-rc0
    • Fix Version/s: None
    • Component/s: Admin, Storage
    • Labels:
      None
    • Operating System:
      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

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: