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

min_pool_size 0 should mean "no minimum"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: 1.1.11
    • Component/s: libmongoc
    • None
    • Major Change

      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.

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

              Created:
              Updated:
              Resolved: