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

min_pool_size 0 should mean "no minimum"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • 1.1.11
    • libmongoc
    • None
    • Major Change

    Description

      Improve minpoolsize docs:

      http://api.mongodb.org/c/current/mongoc_uri_t.html
      http://api.mongodb.org/c/current/mongoc_client_pool_min_size.html

      Don't close any clients pushed into pool if min size is 0.

      Introduced in https://github.com/mongodb/mongo-c-driver/pull/171, specifically:

      https://github.com/mschoenlaub/mongo-c-driver/commit/4d0ff8c6c807ef998adafc2b21c50e4f4983fc34#diff-570835aa57126f0dd8f862fa975ff0c3R204

      This appears to date to release 1.1.2. I marked this "affects version 1.1.11" since that was the first version tracked in Jira.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: