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

Async listCollections uses two connections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.2.0
    • Affects Version/s: None
    • Component/s: Connection Management
    • None
    • Fully Compatible
    • Not Needed

      The method ListCollectionsOperation#executeAsync checks out two connections to execute the command, where only one is required. This creates unnecessary stress on the connection pool, and means that it will fail when maxPoolSize = 1.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: