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

Refactor main CRUD flow of driver to produce Async Stack traces

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.6.0
    • Affects Version/s: None
    • Component/s: None
    • 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... user of the NodeJS driver
      I want... the driver to present more complete async stack traces
      So that... debugging myself or getting assistance from Technical Services/the Driver team is easier

      User Impact

      • Affects all users of the main NodeJS driver; not-blocking, just inconvenient

      Dependencies

      • None

      Unknowns

      • What will the performance impact of these changes be?

      Acceptance Criteria

      Implementation Requirements

      • Refactor Server.command to use async/await
      • Refactor ConnectionPool.checkOut to use async/await
      • Refactor Topology.selectServer to use async/await
      • Refactor Toplogy.close, Server.close, ConnectionPool.close and Connection.destroy to be synchronous

      Testing Requirements

      • Ensure that all existing tests continue to pass

      Documentation Requirements

      • None

      Follow Up Requirements

      • None

        There are no Sub-Tasks for this issue.

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: