Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0, 3.0.0
    • Component/s: Connection Management
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      false

      Description

      Add support for checking on unused resources in the pool so it can shrink over time (to the min pool size).

      This will work in conjunction with JAVA-710: support max connection idle time and connection life time.

      The connection pool will, at a configurable interval:

      1. prune all connections that exceed either the max idle or max life time
      2. ensure a minimum pool size

      By default:

      • min size == 0
      • interval == 1 minute

      The minimum size is configuration using the method com.mongodb.MongoClientOptions.Builder#minConnectionsPerHost and the minPoolSize query parameter on the Mongo URI. The interval is not currently configurable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jeff.yemin Jeff Yemin
                Reporter:
                scotthernandez Scott Hernandez (Inactive)
                Participants:
                Last commenter:
                Rathi Gnanasekaran
              • Votes:
                5 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  3 years, 34 weeks, 4 days ago
                  Date of 1st Reply: