Server session creation grows unbounded with every operation call

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.7
    • Affects Version/s: 3.5.5
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently a ServerSession is acquired for each ClientSession in the constructor, which means that every operation creates a session as soon as its called, potentially much earlier than the operation is actually run. DRIVERS-1030 proposes that server session acquisition be deferred until a connection has been checked out for operation execution. While I anticipate a more comprehensive solution for the Node.js driver when we tackle that ticket, today we can make server session acquisition "lazy" and gain the same benefit.

              Assignee:
              Matt Broadstone
              Reporter:
              Matt Broadstone
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: