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

createIndex Command takes only one optional Parameter

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.4.16, 4.0.1
    • None
    • Index Maintenance
    • None

    Description

      Hi,

      We are trying to create Index with below command

      db.traffic_data.createIndex( {process: 1}, {storageEngine:{wiredTiger:

      {configString:"block_compressor=zlib"}

      }},{background: "True"}) 

      It runs as foreground but but picks the storage options

      The case is reversed when I use below command, it runs as background but without the storage options

      db.traffic_data.createIndex( {process: 1},{background: "True"}, {storageEngine:{wiredTiger:

      {configString:"block_compressor=zlib"}

      }}) 

       

      Thanks,

      Attachments

        Activity

          People

            nick.brewer Nick Brewer
            tanveerm@xilinx.com Tanveer Madan Marate
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: