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

DBPortPool is not reusing sockets once maxSize is reached.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:

      Description

      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 )"

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: