Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1575

mongoc_database_create_collection() checks wrong option for storageEngine

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • None
    • None
    • None

    Description

      https://docs.mongodb.com/manual/reference/command/create/#dbcmd.create

      db.runCommand( {
          create: "users",
          storageEngine: { wiredTiger: { configString: "<option>=<setting>" } }
      } )
      

      Our tests and argument validation check for "storage" and "wiredtiger"

      storage: { wiredtiger: { configString: "block_compressor=zlib" } }
      

      In currently nighly, /Database/create_collection is failing because of SERVER-25459

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: