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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: