Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3508

ClientSessionBinding.SessionBindingConnectionSource does not retain a reference to its parent binding

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      ClientSessionBinding.SessionBindingConnectionSource does not call the parent's retain() method in its constructor and the parent's release() method in its own release() method. Curently, SessionBindingConnectionSource#release calls closeSessionIfCountIsZero() which could cause the binding to close prematurely.

            Assignee:
            john.stewart@mongodb.com John Stewart (Inactive)
            Reporter:
            john.stewart@mongodb.com John Stewart (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: