Command does not respect MaxTimeMS

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following command runs indefinitely.

      Code using command
      db.command({aggregate: 'events', pipeline: []}, {maxTimeMS: 50000}, callback);
      

      However, running:

      Code using aggregate
      db.events.aggregate([], {maxTimeMS: 50000}, callback);
      

      Correctly stops after 50 seconds.

              Assignee:
              Christian Amor Kvalheim
              Reporter:
              Elad Moshe
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: