Driver throws IllegalStateException unnecessarily

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.12.5, 2.13.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver in some cases will throw an IllegalStateException indicating that the MongoClient has been closed, even in situations where it's not necessary. For example, the check is made in DBTCPConnector.releasePort, which is called in a number of places after an operation is completed.

      It would be better just to allow those in-flight operations to complete normally and not throw.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: