Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6205

.explain() on a cursor does not allow setting options like maxTimeMS

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cursors

      Use Case

      As a... application developer
      I want... to set options for the explain command through the explain helper
      So that... I can control its behavior the same way I can do it with other commands

      User Impact

      Compass user reports explain with queryPlanner taking multiple hours in HELP-60113 because maxTimeMS is applied to the inner command, not the explain itself, and there is no way to set maxTimeMS for the explain call itself.

      Dependencies

      The behavior described in that HELP ticket is about usage of explain in Compass.

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • functional reqs, potential snafus to avoid, performance targets, etc

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: