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

A malformed createIndex doesn't generate an error message and gets executed in the foreground

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Querying, Shell
    • None
    • ALL

    Description

      The following createIndex is incorrect:

      db.collection.createIndex( { "SysTS": 1 }, { expireAfterSeconds: 47335428 }, {background: true} );
      

      Instead of receiving an error, it gets executed in the foreground.

      Tested in 3.6 and 4.0.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              miguel.nieto@mongodb.com Miguel Angel Nieto
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: