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

Simplify code path for ending implicit sessions in cursors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.8
    • Component/s: None
    • Labels:
      None

      Description

      The internal Cursor#_endSessions is called from many places in the codebase, which can be confusing and also leads to bugs. We should reduce these calls to command result handlers, and the close method.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matt.broadstone Matt Broadstone
              Reporter:
              matt.broadstone Matt Broadstone
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: