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

Add options parsing support for timeoutMS and defaultTimeoutMS

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.5.1
    • Affects Version/s: None
    • Component/s: None
    • 2
    • 2
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a CSOT developer,
      I want options parsing support for timeoutMS and defaultTimeoutMS
      So that I can test CSOT during development.

      User Impact

      • n/a.  the options will be undocumented  

      Dependencies

      • n/a

      Unknowns

      • n/a

      Acceptance Criteria

      Implementation Requirements

      Mark timeoutMS and defaultTimeoutMS internal. 

      • Add uri and client options support for timeoutMS
        • See the design document for options parsing for specifics.
      • Add support for timeoutMS at the db, collection and operation levels
        • All collection helpers
        • All db helpers
        • gridfs constructors
      • Add support for defaultTimeoutMS in the ClientSession constructor and Client.startSession()

      Testing Requirements

      • Add URI and client options options parsing tests
      • Pull in URI tests from this spec PR

      Documentation Requirements

      • ensure timeoutMS and defaultTimeoutMS are not present in API documentation.

      Follow Up Requirements

      • n/a

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: