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

DBPortPool is not reusing sockets once maxSize is reached.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance

      A report has come in that connections/sockets are not being reused by other threads, than last used them, once the max size of the DBPortPool is reached.

      The report says that by removing the thread-id check the problem goes away. DBPortPool.java:164 – "if ( p._lastThread == id )"

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: