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

aggregate and collMod commands should accept maxTimeMS option

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.4
    • 2.5.3
    • None

    Description

      Running both commands on mongod gives following errors.

      > db.runCommand({ aggregate : "foo", pipeline : [{ $match: { i: 0 } }], maxTimeMS: 1000 })
      { "ok" : 0, "errmsg" : "unrecognized field 'maxTimeMS'" }
       
      > db.runCommand({collMod: "foo", usePowerOf2Sizes : false, maxTimeMS: 1000 });
      { "ok" : 0, "errmsg" : "unknown option to collMod: maxTimeMS" }

      Attachments

        Activity

          People

            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: