aggregate and collMod commands should accept maxTimeMS option

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.4
    • Affects Version/s: 2.5.3
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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" }
      

            Assignee:
            Gregory McKeon (Inactive)
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: