Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-250

destroy old clients when added back to client pool

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • 1.4.2
    • None
    • None
    • None

    Description

      The client pool will try to hold on to live clients forever. If we have a watermark that we would like to stay below in the connection pool, we should destroy the oldest or unhealthiest connection.

      This should likely happen on mongoc_client_pool_push() or potentially on a pop().

      Ensure that minPoolSize is respected in the process. minPoolSize is lazy in terms of filling up to minPoolSize, but should not drop below after the connections have been made.

      Attachments

        Activity

          People

            backlog-c-driver Backlog - C Driver Team
            christian.hergert@10gen.com Christian Hergert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: